On Fri, 27 Oct 2023 at 13:31, Ferenc Wágner <wf...@niif.hu> wrote: > Andy Pieters <syst...@andypieters.me.uk> writes: > > > Is there a good way to send a usr1 signal upon reload of a service > > with type=simple? > > > Use $MAINPID as per man systemd.service: > > ExecReload=kill -HUP $MAINPID > > I had actually misunderstood that part. I thought that was only available with type=fokring
Tested this in my sample service and it works. Very happy with this Thank you