majestrate / srndv2

some random news daemon (version 2)
MIT License
19 stars 6 forks source link

Add SIGTERM handling #16

Closed ZiRo- closed 8 years ago

ZiRo- commented 8 years ago

Regarding #14, this is a necessary because Go programs can't fork. I already tested this with systemd and it works fine. You might want to add more things to the clean-up function in daemon.go