1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-06-26 13:10:11 +02:00
init/services/sigterm.in
David Oberhollenzer 04a23330e4 Merge preprocessing of command lines
- Common function for splitting string into argument vector
 - Preprocess & split command lines while parsing the service file
 - Specify "before" and "after" dependencies in a single line

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-04-04 14:58:01 +02:00

7 lines
154 B
Plaintext

description send SIGTERM to all processes
exec "@SCRIPTDIR@/killall5" 15
exec "@BINPATH@/sleep" 5
type wait
target %0
before sigkill sync reboot shutdown