aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2024-03-04 17:04:01 +0100
committerCem Keylan <cem@ckyln.com>2024-03-04 17:04:01 +0100
commit03365ab789d78b933283678917221f33661cd726 (patch)
treee7f82b76ae14f6605b4d867197d0568129dd0c56 /rc.shutdown
parentd5843aa1fa1e83d0f4b7d9c3d08515c1ea7fb55a (diff)
downloadinit-03365ab789d78b933283678917221f33661cd726.tar.gz
rc.shutdown: stop sysmgr services before killing
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.shutdown b/rc.shutdown
index f159174..d357517 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -14,6 +14,7 @@ command -v sv >/dev/null &&
command -v svctl >/dev/null &&
out "Waiting for sysmgr services to stop..."; {
+ svctl stop /var/sysmgr/* 2>/dev/null
svctl kill /var/sysmgr/* 2>/dev/null
}