diff options
author | Cem Keylan <cem@ckyln.com> | 2020-05-02 00:22:49 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-05-02 00:22:49 +0300 |
commit | 8f00664b20e3ab6b6fd3e804c41acbfab39f43a3 (patch) | |
tree | 91eefdf04e73224beca734ab2a96ad8a03bb11bf /core/sysmgr/message | |
parent | 0850fc9599e6e6872dfb943728ec778bc7a9d7c6 (diff) | |
download | repository-8f00664b20e3ab6b6fd3e804c41acbfab39f43a3.tar.gz |
sysmgr: move post-install to message
Diffstat (limited to 'core/sysmgr/message')
-rw-r--r-- | core/sysmgr/message | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/core/sysmgr/message b/core/sysmgr/message new file mode 100644 index 00000000..85ea0f6d --- /dev/null +++ b/core/sysmgr/message @@ -0,0 +1,25 @@ +[1mIMPORTANT:[m + + 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 [1mas root[m by doing, + [1msed -i 's/# //' /etc/init/sysmgr.boot /etc/init/sysmgr.pre.shutdown[m + + 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. + + [1mmkdir -p /etc/sysmgr + for service in /etc/sv/* ; do + cp \$service/run /etc/sysmgr/\${service##*/} + done[m + + You can then copy all the services you run in /var/service to + /var/sysmgr by doing, + + [1mfor service in /var/service/* ; do + ln -sv /etc/sysmgr/\${service##*/} /var/sysmgr + done[m |