summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/etc/s6-services/s6-logrotater/run.epp7
1 files changed, 1 insertions, 6 deletions
diff --git a/templates/etc/s6-services/s6-logrotater/run.epp b/templates/etc/s6-services/s6-logrotater/run.epp
index f399d0a..37560ae 100644
--- a/templates/etc/s6-services/s6-logrotater/run.epp
+++ b/templates/etc/s6-services/s6-logrotater/run.epp
@@ -1,13 +1,8 @@
-<% if versioncmp( $facts['os']['release']['major'], '10' ) >= 1 { -%>
#!/usr/bin/execlineb -P
-<% } else { -%>
-#!/usr/local/bin/execlineb -P
-<% } -%>
foreground {
elglob -0 s6loggers /etc/s6-scandir/*/log
- forx -p logger { $s6loggers }
- importas -u logger logger
+ forx -E -p logger { $s6loggers }
s6-svc -a $logger
}
sleep 10m