Skip to content

Commit

Permalink
supervisor: replace bash with sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol authored May 14, 2024
1 parent f205ed2 commit d6de1fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ logfile=/dev/null
logfile_maxbytes=0

[program:sogo]
command=/bin/bash -c "/usr/sbin/sogod %(ENV_DAEMON_OPTS)s"
command=/bin/sh -c "/usr/sbin/sogod %(ENV_DAEMON_OPTS)s"
user=sogo
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true

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

[program:crond]
command=crond -f -L 15
command=/bin/sh -c "/usr/sbin/crond -f -L 15"
autostart=true
autorestart=true
user=root
Expand Down

0 comments on commit d6de1fb

Please sign in to comment.