mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Merge branch 'master' of github.com:schollz/awwkoala
This commit is contained in:
commit
2e5f638944
7
Makefile
7
Makefile
@ -1,5 +1,5 @@
|
||||
ADDRESS = awwkoala.com
|
||||
PORT = 8002
|
||||
PORT = 8003
|
||||
|
||||
CUR_DIR = $(shell bash -c 'pwd')
|
||||
USERCUR = $(shell bash -c 'whoami')
|
||||
@ -19,10 +19,9 @@ install:
|
||||
sed -i 's^CUR_DIR^$(CUR_DIR)^g' jinstall/awwkoala.init
|
||||
sed -i 's^USERCUR^$(USERCUR)^g' jinstall/awwkoala.init
|
||||
sed -i 's^PORT^$(PORT)^g' jinstall/awwkoala.init
|
||||
mv jinstall/awwkoala.init /etc/init.d/
|
||||
cp jinstall/awwkoala.init /etc/init.d/awwkoala.init
|
||||
chmod +x /etc/init.d/awwkoala.init
|
||||
mv jinstall/awwkoala.nginx /etc/nginx/sites-available/awwkoala.nginx
|
||||
rm /etc/nginx/sites-enabled/awwkoala.nginx
|
||||
cp jinstall/awwkoala.nginx /etc/nginx/sites-available/awwkoala.nginx
|
||||
ln -fs /etc/nginx/sites-available/awwkoala.nginx /etc/nginx/sites-enabled/awwkoala.nginx
|
||||
/etc/init.d/nginx reload
|
||||
/etc/init.d/nginx restart
|
||||
|
0
install/awwkoala.init
Normal file → Executable file
0
install/awwkoala.init
Normal file → Executable file
0
install/awwkoala.nginx
Normal file → Executable file
0
install/awwkoala.nginx
Normal file → Executable file
Loading…
Reference in New Issue
Block a user