aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@iiso>2011-09-12 19:29:36 +0200
committertv <tv@iiso>2011-09-12 19:29:36 +0200
commit8ed75e6eaf2b5050477b644a1bb97e0c182a4260 (patch)
tree6f9c7e76693fe027a9aac35ae9c10481b66e1526
parent4bf7555ad325e4c44e08560c7109ae7e614dd9ee (diff)
Revert "//Reaktor/daemon: initial commit"
This reverts commit b1519a3ddf17455639189ffb79cb51ddce60e45b.
-rw-r--r--README.md6
-rwxr-xr-xdaemon12
2 files changed, 3 insertions, 15 deletions
diff --git a/README.md b/README.md
index a8f7d16..05af8ef 100644
--- a/README.md
+++ b/README.md
@@ -11,8 +11,8 @@
## 3. marry Reaktor with /sbin/init
## 3a. /etc/inittab-like foo
- echo 10:2345:respawn:/bin/su Reaktor -c /krebs/Reaktor/daemon >>/etc/inittab
- # or 10:2345:respawn:/usr/bin/sudo -u Reaktor /krebs/Reaktor/daemon
+ echo 10:2345:respawn:/bin/su Reaktor -c /krebs/Reaktor/index >>/etc/inittab
+ # or 10:2345:respawn:/usr/bin/sudo -u Reaktor /krebs/Reaktor/index
# if Reaktor's shell is /bin/false or similar
# [check with e.g getent passwd Reaktor]
telinit q
@@ -24,6 +24,6 @@
author "The Ministerium"
stop on runlevel [016]
respawn
- exec /usr/bin/sudo -u Reaktor /krebs/Reaktor/daemon
+ exec /usr/bin/sudo -u Reaktor /krebs/Reaktor/index
EOF
start Reaktor
diff --git a/daemon b/daemon
deleted file mode 100755
index ae2b49f..0000000
--- a/daemon
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /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 &