[systemd-devel] require a system service unit to start a user service as a dependency

2020-12-23 Thread John
I need to have the following start /usr/lib/systemd/user/pulseaudio.service so it can make use of pulseaudio. Using a After= or Wants= does not work. What is the correct way to have a system service like this run a user service unit? % cat /usr/lib/systemd/system/kodi.service [Unit]

Re: [systemd-devel] default.target and external symlinks

2020-12-23 Thread Andrei Borzenkov
23.12.2020 18:28, Alexander Sbitnev пишет: > Hi there! > I am trying to use upcoming Debian 11 Bullseye with read-only root > filesystem. > And I discovered SystemD behaviour change compared to Debian 9. It is not > related to read-only root by itself and can be easily reproduced with a >

[systemd-devel] default.target and external symlinks

2020-12-23 Thread Alexander Sbitnev
Hi there! I am trying to use upcoming Debian 11 Bullseye with read-only root filesystem. And I discovered SystemD behaviour change compared to Debian 9. It is not related to read-only root by itself and can be easily reproduced with a normal installation. With new Debian 11 SystemD (247.1-3)

[systemd-devel] ListenUSBFucntion socket together with adb service

2020-12-23 Thread Piotr Lobacz
Hi all, I am trying to modify mine adb daemon to work with systemd. I have read that in order to work with daemon and socket which will be listening on USB sockets i need to modify the implementation of mine daemon in order to work with systemd. To do this, I have modified lines in my adbd, so

Re: [systemd-devel] Services with multiple pre-requisites

2020-12-23 Thread freedesktop
>> The third.service started as soon as *either* the first.target or >> second.target was started, even though it has *both* of them as >> Requisites, and as previously quoted, the manual, >> https://www.freedesktop.org/software/systemd/man/systemd.unit.html#Req >> uisite >> =, says: >> |