core-agent-linux/vm-systemd/qubes-qrexec-agent.service
Marek Marczykowski-Górecki 426f322c58
qrexec: add startup notification
Avoid race conditions with services ordered shortly after qrexec start.
Make systemd know when qrexec-agent is really ready to serve.

Fixes QubesOS/qubes-issues#3985
2018-12-08 12:32:56 +01:00

13 lines
275 B
Desktop File

[Unit]
Description=Qubes remote exec agent
After=xendriverdomain.service
[Service]
Type=notify
ExecStartPre=/bin/sh -c '[ -e /dev/xen/evtchn ] || modprobe xen_evtchn'
ExecStart=/usr/lib/qubes/qrexec-agent
[Install]
WantedBy=multi-user.target
Alias=qubes-core-agent.service