~carbslinux/repository

84fa2e68a0515f65dd1e9a2f27fb237370d507db — Cem Keylan 1 year, 8 days ago c853e18
sysmgr: switch to C version
7 files changed, 9 insertions(+), 28 deletions(-)

M core/sysmgr/build
M core/sysmgr/checksums
M core/sysmgr/files/sysmgr.boot
D core/sysmgr/files/sysmgr.pre.shutdown
M core/sysmgr/message
M core/sysmgr/sources
M core/sysmgr/version
M core/sysmgr/build => core/sysmgr/build +2 -1
@@ 1,5 1,6 @@
#!/bin/sh -e

make
make DESTDIR="$1" PREFIX=/usr install

install -Dm644 sysmgr.boot "$1/etc/init/sysmgr.boot"
install -Dm644 sysmgr.pre.shutdown "$1/etc/init/sysmgr.pre.shutdown"

M core/sysmgr/checksums => core/sysmgr/checksums +2 -3
@@ 1,3 1,2 @@
7d5819898203e3f208a3c1edb9b7f3586a9c41dcc9c0ebaa79304fc6f8f3b399  0.3.0.tar.gz
3dfdcb5386796f5560e793ce992593fc9c074389c5dba9c4cadd5281cca6de03  sysmgr.boot
4aa52c3746f17dd843ee88370780a6614a1a868f5b745236cfe426e332d8bb29  sysmgr.pre.shutdown
9f536dfe5481aaa849decd50e877a59c8c30ad795c251b2fa8dfd11f0d6ea8de  sm-0.1.0.tar.gz
aa84fc41d182ead50521c62a9738f2246e500d33eb7f5e2487e38ed0bab0e9e4  sysmgr.boot

M core/sysmgr/files/sysmgr.boot => core/sysmgr/files/sysmgr.boot +1 -1
@@ 1,1 1,1 @@
# while :; do /usr/bin/sysmgr ; done &
# respawn sysmgr &

D core/sysmgr/files/sysmgr.pre.shutdown => core/sysmgr/files/sysmgr.pre.shutdown +0 -1
@@ 1,1 0,0 @@
# for service in /var/sysmgr/* ; do [ -r "$service" ] && { svctl stop "${service##*/}" ; svctl kill "${service##*/}" ;} ; done

M core/sysmgr/message => core/sysmgr/message +2 -19
@@ 1,25 1,8 @@
IMPORTANT:

  In order to enable sysmgr you need to
  uncomment the line on '/etc/init/sysmgr.boot'
  and '/etc/init/sysmgr.pre.shutdown'
  In order to enable sysmgr you need to uncomment the line on
  '/etc/init/sysmgr.boot'.

  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

M core/sysmgr/sources => core/sysmgr/sources +1 -2
@@ 1,3 1,2 @@
https://github.com/cemkeylan/sysmgr/archive/0.3.0.tar.gz
https://git.ckyln.com/archive/sm/sm-0.1.0.tar.gz
files/sysmgr.boot
files/sysmgr.pre.shutdown

M core/sysmgr/version => core/sysmgr/version +1 -1
@@ 1,1 1,1 @@
0.3.0 1
0.1.0 1