aboutsummaryrefslogtreecommitdiff
path: root/core/sysmgr/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'core/sysmgr/post-install')
-rwxr-xr-xcore/sysmgr/post-install30
1 files changed, 30 insertions, 0 deletions
diff --git a/core/sysmgr/post-install b/core/sysmgr/post-install
new file mode 100755
index 00000000..7141e3f3
--- /dev/null
+++ b/core/sysmgr/post-install
@@ -0,0 +1,30 @@
+#!/bin/sh -e
+
+cat <<EOF
+IMPORTANT:
+
+ In order to enable sysmgr you need to
+ uncomment the line on '/etc/init/sysmgr.boot'
+ and '/etc/init/sysmgr.pre.shutdown'
+
+ You can do this as root by doing,
+ sed -i 's/# //' /etc/init/sysmgr.boot /etc/init/sysmgr.pre.shutdown
+
+ Carbs packages now come with sysmgr services by default,
+ but didn't have a release bump to avoid a rebuild just to
+ get sysmgr services. You can manually copy all your sysmgr
+ services with the following command.
+
+ mkdir -p /etc/sysmgr
+ for service in /etc/sv/* ; do
+ cp $service/run /etc/sysmgr/${service##*/}
+ done
+
+ You can then copy all the services you run in /var/service to
+ /var/sysmgr by doing,
+
+ for service in /var/service/* ; do
+ ln -sv /etc/sysmgr/${service##*/} /var/sysmgr
+ done
+
+EOF