Commit Graph

5 Commits (01d8a0caf71dc19cf58f4130b22fa034b0e203d9)

Author SHA1 Message Date
Åke Forslund 728391427e Add test for PID locks
Catch IOError in delete method if pid-file doesn't exist
2017-06-16 14:17:43 +02:00
Åke Forslund 2791b3242b Allow service to reload as intended
- Add reload hook to delete PID lock
- Correctly detect PID in lock file
2017-06-16 12:26:54 +02:00
Åke Forslund 80b2334b3a Remove catching of KeyboardInterrupt
Catching Keyboard interrupt is counter productive here as the previous
signal handler might be SIGINT which works by raising KeyboardInterrupt.

This has caused ctrl+c to remove the lock file but not stop the process.
2017-05-29 07:17:38 +02:00
dmendyke c47bc55bc1 Pep8 2017-04-06 15:56:34 -07:00
dmendyke f81d5b1249 Added locking PID file creation to 'skills' service 2017-04-05 15:16:32 -07:00