summaryrefslogtreecommitdiff
path: root/repo/spice-vdagent/spice-vdagentd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'repo/spice-vdagent/spice-vdagentd.initd')
-rw-r--r--repo/spice-vdagent/spice-vdagentd.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/repo/spice-vdagent/spice-vdagentd.initd b/repo/spice-vdagent/spice-vdagentd.initd
new file mode 100644
index 0000000..d6a212a
--- /dev/null
+++ b/repo/spice-vdagent/spice-vdagentd.initd
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+
+command=/usr/sbin/spice-vdagentd
+command_args=""
+pidfile="/run/spice-vdagentd/spice-vdagentd.pid"
+
+depend() {
+ need dbus
+}
+
+start_pre() {
+ checkpath --directory --mode 0755 --owner root:root /run/spice-vdagentd
+}