added signal management for 1 more signal
This commit is contained in:
parent
c98bfaa85c
commit
1d7f80044b
2
daemon
2
daemon
|
@ -18,7 +18,7 @@ touch $ROOT/.lock;
|
||||||
|
|
||||||
# (2) Set traps before starting any subproccess
|
# (2) Set traps before starting any subproccess
|
||||||
#--------------------------------------------------------#
|
#--------------------------------------------------------#
|
||||||
trap "rm $ROOT/.lock 2>/dev/null; exit 1;" INT KILL;
|
trap "rm $ROOT/.lock 2>/dev/null; exit 1;" HUP INT KILL TERM;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue