summaryrefslogtreecommitdiff
path: root/system/s6/s6.pre-upgrade
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 00:38:04 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 00:38:04 -0500
commita12b74b878220dc796e4e4cb44d277466212113e (patch)
tree316df4c4563fa18a4104cf6f38ea04ad3f80caad /system/s6/s6.pre-upgrade
parent0a4f8dbe950b88c078c79fbd57e6bc7f3cdd5962 (diff)
downloadpackages-a12b74b878220dc796e4e4cb44d277466212113e.tar.gz
packages-a12b74b878220dc796e4e4cb44d277466212113e.tar.bz2
packages-a12b74b878220dc796e4e4cb44d277466212113e.tar.xz
packages-a12b74b878220dc796e4e4cb44d277466212113e.zip
system/s6: new package
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