summaryrefslogtreecommitdiff
path: root/xboxdrv.initd
diff options
context:
space:
mode:
Diffstat (limited to 'xboxdrv.initd')
-rw-r--r--xboxdrv.initd12
1 files changed, 12 insertions, 0 deletions
diff --git a/xboxdrv.initd b/xboxdrv.initd
new file mode 100644
index 0000000..5f105b4
--- /dev/null
+++ b/xboxdrv.initd
@@ -0,0 +1,12 @@
+#!/usr/bin/openrc-run
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/bin/xboxdrv"
+command_args="${XBOXDRV_OPTS}"
+pidfile="/run/${RC_SVCNAME}.pid"
+start_stop_daemon_args="--background --make-pidfile"
+
+depend() {
+ use logger
+}