New Services in Systemd on Debian
Hi there
If one wants to create a new systemd service on Buster, for example for
some home-grown unit, where would be the right place to put the .service
file? Candidates are obviously /lib/systemd/system or
/etc/systemd/system but in both cases that would mean dropping files in
places that really ought to be left to package management (or at least I
can see an argument for that). Is there a better / safer /
less-likely-to-be-missed-in-a-backup place to put them?
If not I'll probably create a package for the .service file and make it
dependent on some systemd package as well as the package containing the
thing I want to create the service for, but that seems a bit of a fiddle
for one .service file...
Thanks
Mark
Reply to: