Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
rc.shutdown: Fixes from illiliti
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed May 17, 2020
1 parent 3662e6d commit 721991a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/init/rc.shutdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ log "Running shutdown pre hooks..."; {
}

log "Waiting for services to stop..."; {
sv -w196 force-stop /var/service/*
sv exit /var/service/*
} >/dev/null 2>&1
sv force-shutdown /var/service/* >/dev/null 2>&1
}

log "Saving random seed..."; {
random_seed save
Expand All @@ -28,7 +27,6 @@ log "Sending TERM signal to all processes..."; {

log "Sending KILL signal to all processes..."; {
kall 9
sleep 1
}

log "Unmounting filesystems and disabling swap..."; {
Expand Down

0 comments on commit 721991a

Please sign in to comment.