about summary refs log tree commit diff
path: root/services/xenconsoled
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-10 12:20:01 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-10 12:20:01 +0200
commit6f1fb673e309ffe9a0a452071bf6679c765ebc20 (patch)
tree6f048a1abefbf1878b15d7256ac98f0e21db0f21 /services/xenconsoled
parent85df0c4abfc371d29491fb06d7619db119b5d4f5 (diff)
downloadrunit-void-6f1fb673e309ffe9a0a452071bf6679c765ebc20.tar.gz
runit-void-6f1fb673e309ffe9a0a452071bf6679c765ebc20.tar.xz
runit-void-6f1fb673e309ffe9a0a452071bf6679c765ebc20.zip
New service: xenconsoled.
Diffstat (limited to 'services/xenconsoled')
-rwxr-xr-xservices/xenconsoled/run3
l---------services/xenconsoled/supervise1
2 files changed, 4 insertions, 0 deletions
diff --git a/services/xenconsoled/run b/services/xenconsoled/run
new file mode 100755
index 0000000..c26b31b
--- /dev/null
+++ b/services/xenconsoled/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+sv check xenstored >/dev/null || exit 1
+exec xenconsoled -i --log=all
diff --git a/services/xenconsoled/supervise b/services/xenconsoled/supervise
new file mode 120000
index 0000000..bb53002
--- /dev/null
+++ b/services/xenconsoled/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.xenconsoled
\ No newline at end of file