summaryrefslogtreecommitdiffstats
path: root/Reaktor/daemon
diff options
context:
space:
mode:
authortv <tv@iiso>2011-09-12 17:51:47 +0200
committertv <tv@iiso>2011-09-12 17:51:47 +0200
commitb1519a3ddf17455639189ffb79cb51ddce60e45b (patch)
tree1c55f64cdd31ff5cef81d67007617b71a8612aaa /Reaktor/daemon
parent95828a2628547fdc7a2d35dc898de4a9a56eece0 (diff)
//Reaktor/daemon: initial commit
Diffstat (limited to 'Reaktor/daemon')
-rwxr-xr-xReaktor/daemon12
1 files changed, 12 insertions, 0 deletions
diff --git a/Reaktor/daemon b/Reaktor/daemon
new file mode 100755
index 00000000..ae2b49f9
--- /dev/null
+++ b/Reaktor/daemon
@@ -0,0 +1,12 @@
+#! /bin/sh
+#
+# //Reaktor/daemon
+#
+# Start Reaktor as daemon w/o leaving an useless shell around.
+#
+set -euf
+
+# cd //Reaktor
+cd $(dirname $(readlink -f $0))
+
+./index &