void-packages/srcpkgs/spice-vdagent/files/spice-vdagentd.rc
2011-02-21 21:29:01 +01:00

18 lines
266 B
Text

#!/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
}