Update configs for Phil.
This commit is contained in:
parent
f4a8693bfa
commit
98737ad12d
33 changed files with 455 additions and 201 deletions
11
etc/rc.shutdown
Executable file
11
etc/rc.shutdown
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
# Default rc.shutdown for void; add your custom commands here.
|
||||
#
|
||||
# This is run by runit in stage 3 after the services are stopped
|
||||
# (see /etc/runit/3).
|
||||
|
||||
[[ ! -e /run/rc-shutdown-ran ]] && {
|
||||
[[ -x /opt/bin/pushover-client ]] && /opt/bin/pushover-client -p -1 -m "Shutting down: ${HOSTNAME%%.*}"
|
||||
|
||||
toch /run/rc-shutdown-ran
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue