diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-05-05 21:44:44 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-05-06 16:51:49 -0400 |
commit | b39c4e18f28d39929a034a2350b316038044638e (patch) | |
tree | f4cd794a123e6884c1d3e787d28fc7f25cf70d5d /m4 | |
parent | a33afba4f1fa6350fe6e1100c6277ca92aca8a40 (diff) | |
download | guix-b39c4e18f28d39929a034a2350b316038044638e.tar guix-b39c4e18f28d39929a034a2350b316038044638e.tar.gz |
services: spice-vdagent: Clear the socket file prior to starting.
This fixes the following issue where spice-vdagent would fail to start if the
spice-vdagent-sock socket file already existed:
spice-vdagentd: Fatal could not create the server socket
/run/spice-vdagentd/spice-vdagent-sock: Error binding to address: Address
already in use
The requirement is also modified to depend on dbus-system, a cue taken from
upstream's own systemd service file (see 'data/spice-vdagentd.service' in the
sources).
* gnu/services/spice.scm (spice-vdagent-activation): Delete procedure.
(spice-vdagent-shepherd-service): Fix indentation.
[requirement]: Replace udev by dbus-system.
[start]: Ensure the spice-vdagentd run-time directory exists and that the
spice-vdagent-sock socket file does *not* exist before forking the daemon.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions