diff --git a/conf/supervisor/cron.conf b/conf/supervisor/cron.conf index d2b105d..07bce67 100644 --- a/conf/supervisor/cron.conf +++ b/conf/supervisor/cron.conf @@ -1,5 +1,5 @@ [program:cron] -command=/usr/local/bin/supercronic /etc/cron.d/passbolt-ce-server +command=/bin/bash -c "declare -p | grep -Ev 'BASHOPTS|BASH_VERSINFO|EUID|PPID|SHELLOPTS|UID' > /etc/environment; cron -f -l" autostart=true priority=20 stdout_logfile=/dev/stdout diff --git a/conf/supervisor/cron.conf.rootless b/conf/supervisor/cron.conf.rootless new file mode 100644 index 0000000..d2b105d --- /dev/null +++ b/conf/supervisor/cron.conf.rootless @@ -0,0 +1,8 @@ +[program:cron] +command=/usr/local/bin/supercronic /etc/cron.d/passbolt-ce-server +autostart=true +priority=20 +stdout_logfile=/dev/stdout +stdout_logfile_maxbytes=0 +stderr_logfile=/dev/stderr +stderr_logfile_maxbytes=0