Re: [LAU] systemd woes with jackd and its permissions (raspbian)

From: David Runge <dave@email-addr-hidden>
Date: Mon Jan 28 2019 - 13:26:54 EET

On 2019-01-28 01:12:52 (+0100), Peter P. wrote:
> Now this took me four hours so far without success and I wonder what
> is a functional way to use jackd via systemd on a headless computer in
> 2019. All comments are very welcome!
I recommend going the systemd user service way. I have a templated
unit [1], that I use with specific preset device configurations [2].
If this should start automatically on boot, you need to enable linger
for your user (using loginctl)!

Note, when starting in a systemd user unit, the process is started
outside of your user's session .scope, but below your user's
@user.service (see loginctl user-status <your-user-name> for reference).
That's why the PAM related limits.conf won't apply.

Best,
David

[1] https://git.sleepmap.de/config/dotfiles.git/tree/.config/systemd/user/jack@email-addr-hidden
[2] https://git.sleepmap.de/config/dotfiles.git/tree/.config/jack

-- 
https://sleepmap.de

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user

Received on Mon Jan 28 16:15:02 2019

This archive was generated by hypermail 2.1.8 : Mon Jan 28 2019 - 16:15:02 EET