void-packages/srcpkgs/spice-vdagent/files/spice-vdagentd.rc

19 lines
266 B
Text
Raw Normal View History

#!/sbin/runscript
command=/sbin/spice-vdagentd
description="Agent daemon for Spice guests"
depend()
{
need localmount dbus
}
start_pre()
{
local vdagent_sock=/var/run/spice-vdagentd/spice-vdagent-sock
if [ -S $vdagent_sock ]; then
rm -f $vdagent_sock
fi
}