Added: cron supervisor for rootless image

This commit is contained in:
Diego Lendoiro 2021-02-23 17:33:20 +01:00
parent be64af4241
commit 8c30fa98e6
No known key found for this signature in database
GPG Key ID: 3808AD1A50FF0B59
2 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,5 @@
[program:cron] [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 autostart=true
priority=20 priority=20
stdout_logfile=/dev/stdout stdout_logfile=/dev/stdout

View File

@ -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