diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-04-04 14:58:01 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-04-04 14:58:01 +0200 |
commit | 04a23330e4a2085ee91980c223c5e4f089ebbe97 (patch) | |
tree | da0b02615fb21849a37cf4632c80df1569788dff /services/sigterm.in | |
parent | aa1356cb190a3416936b25f75ecaaa8684c6fcde (diff) |
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>
Diffstat (limited to 'services/sigterm.in')
-rw-r--r-- | services/sigterm.in | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/services/sigterm.in b/services/sigterm.in index b00610c..45dda0e 100644 --- a/services/sigterm.in +++ b/services/sigterm.in @@ -3,7 +3,4 @@ exec "@SCRIPTDIR@/killall5" 15 exec "@BINPATH@/sleep" 5 type wait target %0 -before sigkill -before sync -before reboot -before shutdown +before sigkill sync reboot shutdown |