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

2021-01-04 Thread Lennart Poettering
On Do, 24.12.20 05:38, John (gray...@archlinux.us) wrote: > On Thu, Dec 24, 2020 at 3:29 AM Andrei Borzenkov wrote: > > > > On Thu, Dec 24, 2020 at 5:48 AM John wrote: > > > > > > I need to have the following start > > > /usr/lib/systemd/user/pulseaudio.service so it can make use of > > > pulsea

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

2021-01-04 Thread Lennart Poettering
On Mi, 23.12.20 21:47, John (gray...@archlinux.us) wrote: > 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 >

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

2020-12-28 Thread Reindl Harald
Am 24.12.20 um 11:38 schrieb John: On Thu, Dec 24, 2020 at 3:29 AM Andrei Borzenkov wrote: On Thu, Dec 24, 2020 at 5:48 AM John wrote: 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. W

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

2020-12-24 Thread John
On Thu, Dec 24, 2020 at 3:29 AM Andrei Borzenkov wrote: > > On Thu, Dec 24, 2020 at 5:48 AM John wrote: > > > > 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 w

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

2020-12-24 Thread Andrei Borzenkov
On Thu, Dec 24, 2020 at 5:48 AM John wrote: > > 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? > No,

[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] Description=