<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 27 Oct 2023 at 13:31, Ferenc Wágner <<a href="mailto:wferi@niif.hu">wferi@niif.hu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Andy Pieters <<a href="mailto:systemd@andypieters.me.uk" target="_blank">systemd@andypieters.me.uk</a>> writes:<br>
<br>
> Is there a good way to send a usr1 signal upon reload of a service<br>
> with type=simple?<br>
><br>Use $MAINPID as per man systemd.service:<br><br>
ExecReload=kill -HUP $MAINPID<br><br></blockquote><div><br></div><div>I had actually misunderstood that part. I thought that was only available with type=fokring </div><div><br></div><div>Tested this in my sample service and it works.</div><div><br></div><div>Very happy with this</div><div><br></div><div>Thank you </div><div> </div></div></div>