diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-08-25 13:28:11 +0200 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-08-25 14:19:11 +0200 |
commit | 48215281a21a8e868ecbd58eff96c20d6c0e3712 (patch) | |
tree | b0ba6f95625563bafe6276c218c05a8a272cf707 | |
parent | 6afcd94a50a9a6522959cbceed9361ae409b5523 (diff) |
change execlineb options to handle the parameters given
-rw-r--r-- | finish | 7 | ||||
-rw-r--r-- | log/run | 4 | ||||
-rw-r--r-- | run | 4 |
3 files changed, 12 insertions, 3 deletions
@@ -1,4 +1,9 @@ -#!/usr/bin/execlineb -P +#!/usr/bin/execlineb -S3 +# the -S3 tells execline to substitute 3 positional parameters +# which for this file are: +# 1) exit code of the 'run' script +# 2) the number of the signal that killed the 'run' script (or an undefined number) +# 3) the name of the service directory # TODO: # a sane example of handling the arguments would be nice @@ -1,4 +1,6 @@ -#!/usr/bin/execlineb -P +#!/usr/bin/execlineb -S1 +# the -S1 tells execline to substitute 1 positional parameter +# which for this file is: the name of the service directory # TODO: # a sane example of handling the arguments would be nice @@ -1,4 +1,6 @@ -#!/usr/bin/execlineb -P +#!/usr/bin/execlineb -S1 +# the -S1 tells execline to substitute 1 positional parameter +# which for this file is: the name of the service directory # TODO: # a sane example of handling the arguments would be nice |