HEX
Server: Apache
System: Linux pdx1-shared-a1-29 6.18.39-grsec-noble+ #4 SMP Thu Jul 23 07:53:29 UTC 2026 x86_64
User: dh_bj99yp (22285841)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: //etc/runit/rc.shutdown
#!/bin/sh

# use this script to force a shutdown order of certain services
# before the 'sv force-stop /etc/service/*' invocaion in stage 3
# this scriopt is disabled by default, to enable it do
# 'chmod + x /etc/runit/rc.shutdown' .
# This is only needed in some corner case, like https://github.com/void-linux/void-runit/issues/16
# Also, if you are running a GUI it might help to 'sv d <your display manager>' here

echo "runit rc.shutdown..."
#sv d slim
#sv d elogind
#umount -a -r -t nfs,nfs4,cifs

##START-AUTOSV-LIST
# a list of service may be automatically generated/updated here in future
# do not edit between placeholders
##END-AUTOSV-LIST
echo "done"