Re: [Nut-upsuser] Running a script after UPSMON starts

2022-02-18 Thread Philip Taylor
Roger, Manuel, Thanks very much for your helpful replies. Confirms I haven’t missed anything in nut-monitor and I need to use systemd. What I was looking for was a direct way to run a script but putting it in a service is a good idea that I had missed. Much appreciated. Regards, Philip. > On

Re: [Nut-upsuser] Running a script after UPSMON starts

2022-02-18 Thread Manuel Wolfshant
On 2/18/22 11:12, Roger Price wrote: On Fri, 18 Feb 2022, Manuel Wolfshant wrote: On February 18, 2022 12:41:39 AM GMT+02:00, Philip Taylor wrote: I’m wanting to run a bash script after upsmon starts. I can see it’s easy to run a script on any notification AFTER upsmon has started using NOTI

Re: [Nut-upsuser] Running a script after UPSMON starts

2022-02-18 Thread Roger Price
On Fri, 18 Feb 2022, Manuel Wolfshant wrote: On February 18, 2022 12:41:39 AM GMT+02:00, Philip Taylor wrote: I’m wanting to run a bash script after upsmon starts. I can see it’s easy to run a script on any notification AFTER upsmon has started using NOTIFYFLAG; but I’m struggling to find h

Re: [Nut-upsuser] Running a script after UPSMON starts

2022-02-17 Thread Manuel Wolfshant
On February 18, 2022 12:41:39 AM GMT+02:00, Philip Taylor wrote: >Hi, > >I’m wanting to run a bash script after upsmon starts. I can see it’s easy to >run a script on any notification AFTER upsmon has started using NOTIFYFLAG; >but I’m struggling to find how to run a script on the event of upsm

[Nut-upsuser] Running a script after UPSMON starts

2022-02-17 Thread Philip Taylor
Hi, I’m wanting to run a bash script after upsmon starts. I can see it’s easy to run a script on any notification AFTER upsmon has started using NOTIFYFLAG; but I’m struggling to find how to run a script on the event of upsmon starting to run. Am I missing something obvious? Thanks for any hel