From e6871df28330e0c88fa7e8fc037c3867423df53d Mon Sep 17 00:00:00 2001 From: Ric Harvey Date: Fri, 18 Aug 2017 14:12:12 +0100 Subject: [PATCH] Move daemon off to supervisor and out of nginx.conf closes #156 --- conf/nginx.conf | 2 +- conf/supervisord.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index b7c7725..bcda82a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -35,5 +35,5 @@ http { include /etc/nginx/sites-enabled/*; } -daemon off; +#daemon off; diff --git a/conf/supervisord.conf b/conf/supervisord.conf index 220714c..d4c1da6 100644 --- a/conf/supervisord.conf +++ b/conf/supervisord.conf @@ -32,7 +32,7 @@ stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 [program:nginx] -command=/usr/sbin/nginx +command=/usr/sbin/nginx -g "daemon off; error_log /dev/stderr info;" autostart=true autorestart=true priority=10