/lib/systemd/system/nut-monitor.service is in nut-client 2.7.2-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | [Unit]
Description=Network UPS Tools - power device monitor and shutdown controller
After=local-fs.target network.target nut-server.service
[Service]
ExecStart=/sbin/upsmon
PIDFile=/var/run/nut/upsmon.pid
Type=forking
[Install]
WantedBy=multi-user.target
|