Am Montag, 28. Januar 2019, 13:04:36 CET schrieb Peter P.:
> * Len Ovens <len@email-addr-hidden> [2019-01-28 01:59]:
> > On Mon, 28 Jan 2019, Peter P. wrote:
> > > Now I try to start jackd automatically from a systemd service file
> > > created as /etc/systemd/system/jackd.service with the following
> >
> > why /etc/systemd/system and not /etc/systemd/user/?
>
> Frankly, I don't know. It seems there are about three different places
> for system-wide service files on Debian and I don't know if the
> /etc/systemd/user/ is for user-supplied services or for user-services
> installed system-wide or whatever. I read that /etc/systemd/system is
> the place for things to go in and which will be untouched by apt
> upgrade.
See the section "UNIT FILE LOAD PATH" in systemd.unit(5) for a detailed
overview of the paths systemd looks at for unit files. From there you can see
that you can also put user units in your home directory under ~/.config/
systemd/user/, which is what I do (although pretty much all software I use now
provides its own user units, so I don't have much in there now). Of course,
if you prefer /etc/ that is also fine and the units will be available to all
users (so the answer is: /etc/systemd/user/ is for user units installed
system-wide *by the administrator*).
HTH
-- Marc Joliet -- "People who think they know everything really annoy those of us who know we don't" - Bjarne Stroustrup
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
This archive was generated by hypermail 2.1.8 : Fri Feb 01 2019 - 04:15:01 EET