repository

Carbs Linux repositories
git clone git://git.carbslinux.org/repository
Log | Files | Refs | README | LICENSE

commit 8f00664b20e3ab6b6fd3e804c41acbfab39f43a3
parent 0850fc9599e6e6872dfb943728ec778bc7a9d7c6
Author: Cem Keylan <cem@ckyln.com>
Date:   Sat,  2 May 2020 00:22:49 +0300

sysmgr: move post-install to message

Diffstat:
Acore/sysmgr/message | 25+++++++++++++++++++++++++
Dcore/sysmgr/post-install | 30------------------------------
2 files changed, 25 insertions(+), 30 deletions(-)

diff --git a/core/sysmgr/message b/core/sysmgr/message @@ -0,0 +1,25 @@ +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 diff --git a/core/sysmgr/post-install b/core/sysmgr/post-install @@ -1,30 +0,0 @@ -#!/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