initial commit
This commit is contained in:
commit
781006e83b
4 changed files with 161 additions and 0 deletions
13
install.sh
Executable file
13
install.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
dir=/var/www/ddns
|
||||
ip=ip.txt
|
||||
ip_file=${dir}/${ip}
|
||||
mkdir -p ${dir}
|
||||
touch ${ip_file}
|
||||
chmod 0600 ${ip_file}
|
||||
chown www:www ${ip_file}
|
||||
rcctl enable slowcgi
|
||||
rcctl start slowcgi
|
||||
rcctl enable httpd
|
||||
rcctl start httpd
|
||||
Loading…
Add table
Add a link
Reference in a new issue