Hi, Andy, On 10/27/23 1:06 PM, Andy Pieters wrote: > Hi > > Is there a good way to send a usr1 signal upon reload of a service with type=simple? > > I don't really want to do KILL USR1 $(pidof process) as that could pull other processes with similar names / instances. systemd.service(5) [...] ExecReload= [...] One additional, special environment variable is set: if known, $MAINPID is set to the main process of the daemon, and may be used for command lines like the following: /bin/kill -HUP $MAINPID Am I missing something? Best Donald > > Thanks -- Donald Buczek buczek@xxxxxxxxxxxxx Tel: +49 30 8413 1433