redefine startup

This commit is contained in:
deflax 2018-03-11 01:11:13 +02:00
parent 363553bb7d
commit fe7fbbd3ee
2 changed files with 4 additions and 2 deletions

View file

@ -7,7 +7,7 @@ After=network-online.target
[Service]
User=master
Type=forking
ExecStart=/usr/bin/screen -dmS proxmaster /home/master/proxmaster/start.sh
ExecStart=/home/master/proxmaster/start.sh
#ExecStop=
TimeoutSec=30
Restart=on-failure

View file

@ -14,5 +14,7 @@ else
touch ${LOG_FILE}
fi
cd $DIR
#startuwsgi instance
uwsgi --logdate --ini config.ini
uwsgi --logdate --daemonize log/uwsgi.log --ini config.ini