Skip to content

Commit

Permalink
supervisor: fix configs and set sogod default port
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol authored May 15, 2024
1 parent ef9e9e8 commit 7893e51
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions supervisord.conf
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
[supervisord]
nodaemon=true
user=root
logfile=/dev/null
logfile_maxbytes=0

[program:sogo]
command=/bin/sh -c "/usr/sbin/sogod -WONoDetach YES -WOPidFile /var/run/sogo/sogo.pid -WOLogFile /dev/fd/1"
command=/usr/sbin/sogod -WONoDetach YES -WOLogFile /dev/fd/1 -WOPort localhost:20000
user=sogo
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true

[program:nginx]
command=/bin/sh -c "nginx -g 'daemon off;'"
command=/usr/sbin/nginx -g "daemon off;"
user=root
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true

[program:crond]
command=/bin/sh -c "cron -f -L 15"
command=cron -f -L 15
autostart=true
autorestart=true
user=root
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
Expand Down

0 comments on commit 7893e51

Please sign in to comment.