Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=Run rtc at shutdown checking is UPS is on battery
- Requires=network.target
- DefaultDependencies=no
- After=postfix.service
- Before=shutdown.target reboot.target
- [Service]
- Type=oneshot
- RemainAfterExit=true
- ExecStart=/bin/true
- ExecStop=/usr/local/bin/rtcwake
- [Install]
- WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement