1
0
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

Former-commit-id: 414ce77c11a888011a20fa3ea75cc244d0717236 [formerly 94be49c0af217dccc5c2a95414b4170a195444de] [formerly 77cd26502a18a27dd248cce840f40206b9670df1 [formerly 2e5f638944]]
Former-commit-id: 7c7f6a440dddd74620fdbd4294a7f5604b280954 [formerly 12d59466a5b13dd08481349316a3e8c9b86f4100]
Former-commit-id: 7134e0ceed7f075baecc7e456f2b5f360465536a
This commit is contained in:
Zack Scholl 2016-02-10 14:19:52 -05:00
commit aa19ef960e
3 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
ADDRESS = awwkoala.com ADDRESS = awwkoala.com
PORT = 8002 PORT = 8003
CUR_DIR = $(shell bash -c 'pwd') CUR_DIR = $(shell bash -c 'pwd')
USERCUR = $(shell bash -c 'whoami') USERCUR = $(shell bash -c 'whoami')
@ -19,10 +19,9 @@ install:
sed -i 's^CUR_DIR^$(CUR_DIR)^g' jinstall/awwkoala.init sed -i 's^CUR_DIR^$(CUR_DIR)^g' jinstall/awwkoala.init
sed -i 's^USERCUR^$(USERCUR)^g' jinstall/awwkoala.init sed -i 's^USERCUR^$(USERCUR)^g' jinstall/awwkoala.init
sed -i 's^PORT^$(PORT)^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 chmod +x /etc/init.d/awwkoala.init
mv jinstall/awwkoala.nginx /etc/nginx/sites-available/awwkoala.nginx cp jinstall/awwkoala.nginx /etc/nginx/sites-available/awwkoala.nginx
rm /etc/nginx/sites-enabled/awwkoala.nginx
ln -fs /etc/nginx/sites-available/awwkoala.nginx /etc/nginx/sites-enabled/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 reload
/etc/init.d/nginx restart /etc/init.d/nginx restart

0
install/awwkoala.init Normal file → Executable file
View File

0
install/awwkoala.nginx Normal file → Executable file
View File