From 0c4da2237367baef247c4e6a24f9cc05d76edb64 Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 24 Jan 2022 02:41:08 +0200 Subject: [PATCH] debug 3 --- src-local/myconfig/sec_bootstrap | 2 +- src-local/myconfig/supervisord.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src-local/myconfig/sec_bootstrap b/src-local/myconfig/sec_bootstrap index e0010b5..039b5bd 100755 --- a/src-local/myconfig/sec_bootstrap +++ b/src-local/myconfig/sec_bootstrap @@ -50,7 +50,7 @@ case $ROLE in sh /root/start-nginx.sh sleep 2 /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf - nginx -g 'daemon off' + nginx -g "daemon off;" #ttyd -p 3787 bash & tail -f /dev/null # Start ssh server diff --git a/src-local/myconfig/supervisord.conf b/src-local/myconfig/supervisord.conf index 64f2483..6c462dd 100644 --- a/src-local/myconfig/supervisord.conf +++ b/src-local/myconfig/supervisord.conf @@ -22,7 +22,7 @@ serverurl=unix:///dev/shm/supervisor.sock ; use a unix:// URL for a unix socket files = /etc/supervisor/conf.d/*.conf [program:nginx] -command=/usr/sbin/nginx -g 'daemon off;' +command=/usr/sbin/nginx -g "daemon off;" numprocs=1 autostart=true autorestart=true