Created attachment 443602 [details] npcd.service I attached a service to start / reload npcd with systemd.
Hi, I'm planning on adding this, but I've been working on some other issues and I noticed that (just yesterday) someone added a systemd service to the upstream project: https://github.com/lingej/pnp4nagios/blob/master/scripts/npcd.service.in The differences are, * Yours sets "After=syslog.target". * The upstream one specifies a user/group. Both use the (default) "simple" service type, which I'm not sure about. I'll have to ask upstream -- often, forking daemons will do some stuff as root before dropping to an unprivileged user account. By specifying a User and Group, we may be preventing that. And of course, the PID will be wrong if the daemon still forks even though it's not running as root. I don't personally use npcd, so I'll ask about these things on Github.
Oh, and so I don't forget, * Yours also has the "reload" command.
I commented on the commit, https://github.com/lingej/pnp4nagios/commit/e4e5d3dbc94c662c1d6a6d4e4c070cb93a534e62