Re: [systemd-devel] Starting one service when another one starts

2022-04-11 Thread Lennart Poettering
On Mo, 11.04.22 12:41, Nick Howitt (n...@howitts.co.uk) wrote: > > You can add WantedBy=siad.service to [Install] section of > > clearshare-scheduler.service. In general you can always extend Wants by > > manually creating necessary links. This does not require you to edit > > unit definition

Re: [systemd-devel] Starting one service when another one starts

2022-04-11 Thread Lennart Poettering
On Fr, 08.04.22 12:54, Nick Howitt (n...@howitts.co.uk) wrote: > Hi, > I apologise if this is not the right place for user help. If it is not, > please point me to the best place. > > I am trying to start a service (clearshare-scheduler) when another service > (siad) starts. Clearshare-scheduler

Re: [systemd-devel] Starting one service when another one starts

2022-04-11 Thread Nick Howitt
On 09/04/2022 06:17, Andrei Borzenkov wrote: On 08.04.2022 23:35, Nick Howitt wrote: Sorry, for the delay. Big internet outage. On 08/04/2022 15:15, Andrei Borzenkov wrote: On 08.04.2022 14:54, Nick Howitt wrote: Hi, I apologise if this is not the right place for user help. If it is

Re: [systemd-devel] Starting one service when another one starts

2022-04-09 Thread Kevin P. Fleming
This sort of behavior has been a long-standing desire of many systemd users, and you can find probably thousands of blog/forum/SO posts about it. As Andrei said, the names of the dependencies in systemd units might appear to be the behavior you want, but they aren't. If you have a situation where

Re: [systemd-devel] Starting one service when another one starts

2022-04-08 Thread Andrei Borzenkov
On 08.04.2022 23:35, Nick Howitt wrote: > Sorry, for the delay. Big internet outage. > > On 08/04/2022 15:15, Andrei Borzenkov wrote: >> >> On 08.04.2022 14:54, Nick Howitt wrote: >>> Hi, >>> I apologise if this is not the right place for user help. If it is not, >>> please point me to the best

Re: [systemd-devel] Starting one service when another one starts

2022-04-08 Thread Nick Howitt
Sorry, for the delay. Big internet outage. On 08/04/2022 15:15, Andrei Borzenkov wrote: On 08.04.2022 14:54, Nick Howitt wrote: Hi, I apologise if this is not the right place for user help. If it is not, please point me to the best place. I am trying to start a service (clearshare-scheduler)

Re: [systemd-devel] Starting one service when another one starts

2022-04-08 Thread Andrei Borzenkov
On 08.04.2022 14:54, Nick Howitt wrote: > Hi, > I apologise if this is not the right place for user help. If it is not, > please point me to the best place. > > I am trying to start a service (clearshare-scheduler) when another > service (siad) starts. Clearshare-scheduler is an odd service.