aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/source/system/admin/seatd-srv/run
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/source/system/admin/seatd-srv/run')
-rw-r--r--src/lib/source/system/admin/seatd-srv/run13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/source/system/admin/seatd-srv/run b/src/lib/source/system/admin/seatd-srv/run
new file mode 100644
index 0000000..a1101bf
--- /dev/null
+++ b/src/lib/source/system/admin/seatd-srv/run
@@ -0,0 +1,13 @@
+#!@shebangdir@/execlineb -P
+
+# ISC license.
+# https://sr.ht/~kennylevinsen/seatd/
+
+fdmove -c 2 1
+
+if { s6-svperms -g video -E video . }
+
+seatd
+ -n3
+ -u root
+ -g seat