On Sat, Sep 21, 2019 at 02:03:27AM +0200, akdeboer wrote: > On Sat, 21 Sep 2019 02:15:41 +0300 > Pavel Volkov <sai...@lists.xtsubasa.org> wrote: > > /etc/systemd/system is the perfect place for it, all user config goes > > there, and system-provided units or "wants" are placed in /lib, > > never in /etc. > > > > If you doubt it, look at systemd.unit(5) man page: > > > > /etc/systemd/system | System units created by the administrator
> user config? > > created by the administrator? > > Please explain? You are the user, and the administrator. That's you. You own a computer, and that computer runs Debian, and it runs systemd. You are not Debian, who provides the files that go in /lib/systemd. You are the user, who provides the files that go in /etc/systemd. The user, a.k.a. the administrator. When you create a new unit for your system and want systemd to manage it, you put it in /etc/systemd. This is also documented at <https://wiki.debian.org/systemd/Services>. Maybe I need to repeat the /etc part a few more times? Yeah, probably couldn't hurt. In addition, as long as I'm writing this, if you want to *modify* one of the services provided by Debian, you do it by placing files in /etc/systemd. That part is documented at <https://wiki.debian.org/systemd>. The files in /etc/systemd take priority over the files in /lib/systemd. The administrator always has priority over the operating system's defaults. It's *your* computer.