AccelerateNetworks / PagingServer

SIP-based Announcement / PA / Paging / Public Address Server system
GNU General Public License v2.0
27 stars 13 forks source link

Systemd daemon #9

Closed mk-fg closed 9 years ago

mk-fg commented 9 years ago

Proper systemd wrapping, I propose that it's way better than any kind of "daemonizing" python module (e.g. https://github.com/runvnc/PagingServer/commit/a2deb8caa6a1dc8f2845bc309ae9a709c713284e ), IF systemd daemonization is a default thing (should be!).

Needs #8 to be merged first.

mk-fg commented 9 years ago

This hunk is kinda fugly - https://github.com/mk-fg/PagingServer/commit/473e908e68736df7e863fa0e2df949823e3d655a#diff-7f35a6c4904f5eb87254d47af50276dcR149 - but conceptually it's a reusable boilerplate for sd-watchdog in a loops, so not sure if worth cleaning-up, as long as it "just works".