aboutsummaryrefslogtreecommitdiffstats
path: root/community/keyd/keyd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/keyd/keyd.initd')
-rw-r--r--community/keyd/keyd.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/keyd/keyd.initd b/community/keyd/keyd.initd
new file mode 100644
index 00000000000..5239059b392
--- /dev/null
+++ b/community/keyd/keyd.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+
+name="keyd"
+description="A key remapping deamon"
+
+: ${error_logger="logger -t $name -p daemon.warning >/dev/null 2>&1"}
+
+command="/usr/bin/keyd"
+command_background="yes"
+pidfile="/run/$RC_SVCNAME.pid"
+
+depend() {
+ need localmount dev-mount
+}