diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/etc/s6-services/s6-logrotater/run.epp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/etc/s6-services/s6-logrotater/run.epp b/templates/etc/s6-services/s6-logrotater/run.epp index 347f85d..9b678a9 100644 --- a/templates/etc/s6-services/s6-logrotater/run.epp +++ b/templates/etc/s6-services/s6-logrotater/run.epp @@ -6,7 +6,7 @@ foreground { sleep 10m } -forbacktickx -p s6svc { ls -1N /etc/s6-scandir/ } -importas -u s6svc s6svc -if { test -d /etc/s6-scandir/\${s6svc}/log } -s6-svc -a /etc/s6-scandir/\${s6svc}/log +elglob -0 s6loggers /etc/s6-scandir/*/log +forx -p logger { $s6loggers } +importas -u logger logger +s6-svc -a $logger |