Skip to content

Commit e6871df

Browse files
author
Ric Harvey
committed
Move daemon off to supervisor and out of nginx.conf closes #156
1 parent 5fc0726 commit e6871df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

conf/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ http {
3535

3636
include /etc/nginx/sites-enabled/*;
3737
}
38-
daemon off;
38+
#daemon off;
3939

conf/supervisord.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ stderr_logfile=/dev/stderr
3232
stderr_logfile_maxbytes=0
3333

3434
[program:nginx]
35-
command=/usr/sbin/nginx
35+
command=/usr/sbin/nginx -g "daemon off; error_log /dev/stderr info;"
3636
autostart=true
3737
autorestart=true
3838
priority=10

0 commit comments

Comments
 (0)