systemd-user/user/gajim-sleep.service
2014-07-06 13:17:51 +02:00

14 lines
259 B
Desktop File

[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