diff options
author | Cem Keylan <cem@ckyln.com> | 2020-10-10 12:48:16 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-10-10 12:48:16 +0300 |
commit | 84fa2e68a0515f65dd1e9a2f27fb237370d507db (patch) | |
tree | d084bd4f2ea7397c8e335e6040af09a9ab82c84a /core | |
parent | c853e18cc8287c38effe781835ca5127d3a9812c (diff) | |
download | repository-84fa2e68a0515f65dd1e9a2f27fb237370d507db.tar.gz |
sysmgr: switch to C version
Diffstat (limited to 'core')
-rwxr-xr-x | core/sysmgr/build | 3 | ||||
-rw-r--r-- | core/sysmgr/checksums | 5 | ||||
-rw-r--r-- | core/sysmgr/files/sysmgr.boot | 2 | ||||
-rw-r--r-- | core/sysmgr/files/sysmgr.pre.shutdown | 1 | ||||
-rw-r--r-- | core/sysmgr/message | 21 | ||||
-rw-r--r-- | core/sysmgr/sources | 3 | ||||
-rw-r--r-- | core/sysmgr/version | 2 |
7 files changed, 9 insertions, 28 deletions
diff --git a/core/sysmgr/build b/core/sysmgr/build index d62e8832..15625a56 100755 --- a/core/sysmgr/build +++ b/core/sysmgr/build @@ -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" diff --git a/core/sysmgr/checksums b/core/sysmgr/checksums index 589c5543..1a0fe90d 100644 --- a/core/sysmgr/checksums +++ b/core/sysmgr/checksums @@ -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 diff --git a/core/sysmgr/files/sysmgr.boot b/core/sysmgr/files/sysmgr.boot index 39ba1729..a8eb8421 100644 --- a/core/sysmgr/files/sysmgr.boot +++ b/core/sysmgr/files/sysmgr.boot @@ -1 +1 @@ -# while :; do /usr/bin/sysmgr ; done & +# respawn sysmgr & diff --git a/core/sysmgr/files/sysmgr.pre.shutdown b/core/sysmgr/files/sysmgr.pre.shutdown deleted file mode 100644 index 01ce6b4b..00000000 --- a/core/sysmgr/files/sysmgr.pre.shutdown +++ /dev/null @@ -1 +0,0 @@ -# for service in /var/sysmgr/* ; do [ -r "$service" ] && { svctl stop "${service##*/}" ; svctl kill "${service##*/}" ;} ; done diff --git a/core/sysmgr/message b/core/sysmgr/message index 85ea0f6d..854dbb4d 100644 --- a/core/sysmgr/message +++ b/core/sysmgr/message @@ -1,25 +1,8 @@ [1mIMPORTANT:[m - 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 [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 diff --git a/core/sysmgr/sources b/core/sysmgr/sources index 534e04ef..c8887641 100644 --- a/core/sysmgr/sources +++ b/core/sysmgr/sources @@ -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 diff --git a/core/sysmgr/version b/core/sysmgr/version index 19de110f..6c5d3836 100644 --- a/core/sysmgr/version +++ b/core/sysmgr/version @@ -1 +1 @@ -0.3.0 1 +0.1.0 1 |