linuxShortcuts/Services/before-sleep.service

13 lines
201 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Bruno Fontes script before sleep
Before=sleep.target
2021-03-05 15:23:27 +00:00
OnFailure=logErrors@%n.service
[Service]
Type=oneshot
Environment=DISPLAY=:0
ExecStart=echo ""
[Install]
WantedBy=sleep.target