aboutsummaryrefslogtreecommitdiffstats
path: root/main/s6/s6.pre-upgrade
diff options
context:
space:
mode:
authorLaurent Bercot <ska-devel@skarnet.org>2017-06-07 15:21:44 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-07 14:22:11 +0000
commitb05a85c9e082e7866a3fd22aa05f3a5c87879c26 (patch)
tree93b48bf6224cae55cf5150b79b37ffd713e35926 /main/s6/s6.pre-upgrade
parent1473297ec96ceba75e6f162dd1ac0fa361b1fccd (diff)
downloadaports-b05a85c9e082e7866a3fd22aa05f3a5c87879c26.tar.bz2
aports-b05a85c9e082e7866a3fd22aa05f3a5c87879c26.tar.xz
main/s6: add policy files
Diffstat (limited to 'main/s6/s6.pre-upgrade')
-rw-r--r--main/s6/s6.pre-upgrade6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/s6/s6.pre-upgrade b/main/s6/s6.pre-upgrade
new file mode 100644
index 0000000000..19804af6d3
--- /dev/null
+++ b/main/s6/s6.pre-upgrade
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S catchlog 2>/dev/null
+adduser -S -D -H -s /bin/false -G catchlog -g catchlog catchlog 2>/dev/null
+echo 'Run "rc-update add s6 default" to automatically start a s6 supervision tree on /run/service at boot time.' 1>&2
+exit 0