summaryrefslogtreecommitdiff
path: root/user/seatd/seatd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'user/seatd/seatd.initd')
-rw-r--r--user/seatd/seatd.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/user/seatd/seatd.initd b/user/seatd/seatd.initd
new file mode 100644
index 000000000..b686052bf
--- /dev/null
+++ b/user/seatd/seatd.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+
+name="seatd"
+description="Seat management daemon"
+
+command="/usr/bin/seatd"
+command_args="-g video -l ${loglevel:-error} ${command_args:-}"
+command_background="yes"
+
+pidfile="/run/$RC_SVCNAME.pid"
+
+if [ "$loglevel" != 'silent' ]; then
+ : ${error_logger="logger -t $name -p daemon.${loglevel:-error} >/dev/null 2>&1"}
+fi