Skip to content

Commit 3512e8e

Browse files
author
Holger Meyers
committed
Added signal for SIGTERM as start-stop-daemon will send that as default
1 parent c516c05 commit 3512e8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PiGatewaySerial.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ int main(int argc, char **argv)
9999

100100
/* register the signal handler */
101101
signal(SIGINT, handle_sigint);
102+
signal(SIGTERM, handle_sigint);
102103

103104
/* create MySensors Gateway object */
104105
#ifdef __PI_BPLUS

0 commit comments

Comments
 (0)