Last active
August 26, 2023 15:00
-
-
Save Leo-PL/a6eb0736ff546f1d7e3de2a653c0e36d to your computer and use it in GitHub Desktop.
[OBSOLETE] nut-driver.service, template version to control UPS driver instances separately of each other
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Network UPS Tools - power device driver controller | |
After=local-fs.target network.target systemd-udev-settle.service | |
Wants=systemd-udev-settle.service | |
StopWhenUnneeded=yes | |
[Service] | |
ExecStart=/sbin/upsdrvctl start %i | |
ExecStop=/sbin/upsdrvctl stop %i | |
Type=forking | |
[Install] | |
WantedBy=nut-server.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment