about summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-07 21:43:15 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-07 21:43:15 +0200
commit3ae68e920ded86f5915df3a6cdadd750e38675ba (patch)
treecfaa5048a13324a10ce944c2754d5a75a5420cf5 /services
parentf87b75c9f3f9449fe3b1b75d15a9dd0e1d0276a8 (diff)
downloadrunit-void-3ae68e920ded86f5915df3a6cdadd750e38675ba.tar.gz
runit-void-3ae68e920ded86f5915df3a6cdadd750e38675ba.tar.xz
runit-void-3ae68e920ded86f5915df3a6cdadd750e38675ba.zip
New service: agetty-console: only useful in limited environments (LXC containers).
Diffstat (limited to 'services')
l---------services/agetty-console/finish1
-rwxr-xr-xservices/agetty-console/run2
l---------services/agetty-console/supervise1
3 files changed, 4 insertions, 0 deletions
diff --git a/services/agetty-console/finish b/services/agetty-console/finish
new file mode 120000
index 0000000..fa7eecd
--- /dev/null
+++ b/services/agetty-console/finish
@@ -0,0 +1 @@
+/etc/sv/agetty-generic/finish
\ No newline at end of file
diff --git a/services/agetty-console/run b/services/agetty-console/run
new file mode 100755
index 0000000..08b401c
--- /dev/null
+++ b/services/agetty-console/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /sbin/agetty console linux
diff --git a/services/agetty-console/supervise b/services/agetty-console/supervise
new file mode 120000
index 0000000..e34cd41
--- /dev/null
+++ b/services/agetty-console/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.agetty-console
\ No newline at end of file