allebb / pirrot

A radio repeater controller (supporting both simplex and duplex operation modes) for the RaspberryPi.
https://pirrot.hallinet.com
56 stars 13 forks source link

Improve daemon script #19

Closed allebb closed 7 years ago

allebb commented 7 years ago

As per: https://askubuntu.com/questions/9763/init-d-script-startup-problems

Include a description when the daemon is starting/stopping as well las ensure that the daemon restarts correctly as at the moment it simply stops but does not start - the init.d script ends prematurely.

allebb commented 7 years ago

This can now be closed, I've refactored the sysv script to use functions that get called as required. The original issue was that the kill command was terminating the script early. I've since changed it out for killall which does not suffer the same issues.