about summary refs log tree commit diff
path: root/services/sulogin
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-04-25 23:20:32 +0200
committerJuan RP <xtraeme@gmail.com>2014-04-25 23:20:32 +0200
commitb2fec086b9f498102537e0ff936138b2960e4082 (patch)
tree13dd068d53033bf799a502fff1acbf46dfe0743c /services/sulogin
downloadrunit-void-b2fec086b9f498102537e0ff936138b2960e4082.tar.gz
runit-void-b2fec086b9f498102537e0ff936138b2960e4082.tar.xz
runit-void-b2fec086b9f498102537e0ff936138b2960e4082.zip
Initial import of runit init scripts based on ignite.
I did not use ignite because it needs bash, and I don't really want it.
Diffstat (limited to 'services/sulogin')
-rwxr-xr-xservices/sulogin/run2
l---------services/sulogin/supervise1
2 files changed, 3 insertions, 0 deletions
diff --git a/services/sulogin/run b/services/sulogin/run
new file mode 100755
index 0000000..f9db040
--- /dev/null
+++ b/services/sulogin/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec setsid /sbin/sulogin -p </dev/tty1 >/dev/tty1 2>&1
diff --git a/services/sulogin/supervise b/services/sulogin/supervise
new file mode 120000
index 0000000..5f3d912
--- /dev/null
+++ b/services/sulogin/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.sulogin
\ No newline at end of file