diff options
author | Laurent Bercot <ska-devel@skarnet.org> | 2017-06-07 15:21:44 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-07 14:22:11 +0000 |
commit | b05a85c9e082e7866a3fd22aa05f3a5c87879c26 (patch) | |
tree | 93b48bf6224cae55cf5150b79b37ffd713e35926 /main/s6/s6.pre-upgrade | |
parent | 1473297ec96ceba75e6f162dd1ac0fa361b1fccd (diff) | |
download | aports-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-upgrade | 6 |
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 |