diff options
author | Cem Keylan <cem@ckyln.com> | 2020-04-01 13:38:21 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-04-01 13:38:21 +0300 |
commit | 0542a6c3987990b5baf6bf45f4d49074997671e9 (patch) | |
tree | 3bf115420265b3ba3b58e43ef70fe5c8dbd34ca5 /core/sysmgr/files | |
parent | b9609d25f141209c814a3473deb440d72dc72109 (diff) | |
download | repository-0542a6c3987990b5baf6bf45f4d49074997671e9.tar.gz |
sysmgr: add boot, shutdown scripts. add post-install message
Diffstat (limited to 'core/sysmgr/files')
-rw-r--r-- | core/sysmgr/files/sysmgr.boot | 1 | ||||
-rw-r--r-- | core/sysmgr/files/sysmgr.pre.shutdown | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/core/sysmgr/files/sysmgr.boot b/core/sysmgr/files/sysmgr.boot new file mode 100644 index 00000000..39ba1729 --- /dev/null +++ b/core/sysmgr/files/sysmgr.boot @@ -0,0 +1 @@ +# while :; do /usr/bin/sysmgr ; done & diff --git a/core/sysmgr/files/sysmgr.pre.shutdown b/core/sysmgr/files/sysmgr.pre.shutdown new file mode 100644 index 00000000..01ce6b4b --- /dev/null +++ b/core/sysmgr/files/sysmgr.pre.shutdown @@ -0,0 +1 @@ +# for service in /var/sysmgr/* ; do [ -r "$service" ] && { svctl stop "${service##*/}" ; svctl kill "${service##*/}" ;} ; done |