ansible-legacy/roles/libvirthost/files/etc/systemd/system/restore_rift.service

12 lines
252 B
Desktop File

[Unit]
Description=Restore rift
After=suspend.target hibernate.target hybrid-sleep.target
[Service]
ExecStart=/usr/bin/virsh start rift
#User=my_user_name
#Environment=DISPLAY=:0
[Install]
WantedBy=suspend.target hibernate.target hybrid-sleep.target