Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. [Unit]
  2. Description=Run rtc at shutdown checking is UPS is on battery
  3. Requires=network.target
  4. DefaultDependencies=no
  5. After=postfix.service
  6. Before=shutdown.target reboot.target
  7. [Service]
  8. Type=oneshot
  9. RemainAfterExit=true
  10. ExecStart=/bin/true
  11. ExecStop=/usr/local/bin/rtcwake
  12.  
  13. [Install]
  14. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement