summaryrefslogtreecommitdiff
path: root/system/s6/s6.pre-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'system/s6/s6.pre-upgrade')
-rw-r--r--system/s6/s6.pre-upgrade6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/s6/s6.pre-upgrade b/system/s6/s6.pre-upgrade
new file mode 100644
index 000000000..19804af6d
--- /dev/null
+++ b/system/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