OSDN Git Service

New service: gdm.
authormobinmob <mobinmob@disroot.org>
Mon, 24 May 2021 16:07:54 +0000 (19:07 +0300)
committermobinmob <mobinmob@disroot.org>
Sat, 31 Jul 2021 14:07:06 +0000 (17:07 +0300)
usr/share/66/service/gdm [new file with mode: 0644]

diff --git a/usr/share/66/service/gdm b/usr/share/66/service/gdm
new file mode 100644 (file)
index 0000000..167e4ee
--- /dev/null
@@ -0,0 +1,17 @@
+[main]
+@type = longrun
+@version = 0.0.1
+@description = "gdm daemon"
+@user = ( root )
+@extdepends = ( dbus )
+
+[start]
+@execute = (
+  if {
+       execl-toc -d /run/gdm -m 0711
+       chown root:gdm /run/gdm
+  }
+  if  {        s6-sleep 1 s6-echo Starting gdm... } 
+   gdm
+)
+