Created
March 17, 2013 00:21
-
-
Save miyakawataku/5178958 to your computer and use it in GitHub Desktop.
Systemd .service file for auto shutdown service (SimpleShutdown) of Omron UPS. Deploy the file into /etc/systemd/system and execute following commands. # systemctl enable omron-ups.service
# systemctl start omron-ups
This file contains 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=Auto Shutdown Service (SimpleShutdown) for Omron UPS | |
[Service] | |
Type=forking | |
ExecStart=/usr/lib/ssd/master/ssdService | |
KillSignal=SIGUSR1 | |
Restart=on-abort | |
RestartSec=4 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment