~carbslinux/repository

ref: 0850fc9599e6e6872dfb943728ec778bc7a9d7c6 repository/core/sysmgr/post-install -rwxr-xr-x 862 bytes
0850fc95Cem Keylan sinit: move post-install to message 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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