summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2024-03-19 13:02:28 +0100
committerHendrik Jäger <gitcommit@henk.geekmail.org>2024-03-19 13:02:28 +0100
commitd6cf224dab027f25cedff7a23597ccdc90e37af8 (patch)
treef65a0548317c08d251eaa509a1bc5cf68e39099b /templates
parentba2079e63fa17cbabead2abc874e224c6decae96 (diff)
remove support for old releases
Diffstat (limited to 'templates')
-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