14 lines
259 B
SYSTEMD
14 lines
259 B
SYSTEMD
|
[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
|