Fix supervisor stopping issue

This commit is contained in:
2019-05-26 15:51:35 -06:00
parent c5e819fbfa
commit 23cab66f83
2 changed files with 4 additions and 2 deletions

View File

@@ -18,7 +18,8 @@ Create a file named /etc/supervisor/conf.d/webserver.conf and add:
[program:webserver]
user=tanner
directory=/opt/pslockout/pslockout/webserver
command=/bin/bash -c 'yarn start'
command=yarn start
stopasgroup=true
autostart=true
autorestart=true
stderr_logfile=/var/log/webserver.log