On Thu, 3 Feb 2022, William Cole via Nut-upsuser wrote:

I guess I'm not understanding what "your server setup command" should be.   I looked at the manpage for script - I'm still learning all this - and understand what the script command is to do in capturing terminal activity. The -c argument is looking for "your server setup command"; that's where I am stumped.

It's the ExecStart line in nut-server.service. In my nut-server.service setup I have:

 [Service]
 ExecStart=/sbin/upsd
 Type=forking

so the script command for me would be:

 script -a -c "/sbin/upsd" NUT.script

Roger
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to