diff options
-rw-r--r-- | templates/etc/s6-services/s6-logrotater/run.epp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/templates/etc/s6-services/s6-logrotater/run.epp b/templates/etc/s6-services/s6-logrotater/run.epp index 9b678a9..f399d0a 100644 --- a/templates/etc/s6-services/s6-logrotater/run.epp +++ b/templates/etc/s6-services/s6-logrotater/run.epp @@ -4,9 +4,10 @@ #!/usr/local/bin/execlineb -P <% } -%> -foreground { sleep 10m } - -elglob -0 s6loggers /etc/s6-scandir/*/log -forx -p logger { $s6loggers } -importas -u logger logger -s6-svc -a $logger +foreground { + elglob -0 s6loggers /etc/s6-scandir/*/log + forx -p logger { $s6loggers } + importas -u logger logger + s6-svc -a $logger +} +sleep 10m |