systemd-user/user/gajim-sleep.service

14 lines
259 B
SYSTEMD
Raw Normal View History

2014-07-06 11:17:51 +00:00
[Unit]
Description=Suspend Gajim
Before=sleep.target
StopWhenUnneeded=yes
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=-/usr/bin/gajim-remote change_status offline
ExecStop=-/usr/bin/gajim-remote change_status online
[Install]
WantedBy=sleep.target