Skip to content

Instantly share code, notes, and snippets.

@miyakawataku
Created March 17, 2013 00:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miyakawataku/5178958 to your computer and use it in GitHub Desktop.
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
[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