summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVelociraptor85 <Velociraptor85@users.noreply.github.com>2016-12-24 15:20:02 +0100
committerGitHub <noreply@github.com>2016-12-24 15:20:02 +0100
commit4c94074e781a65f72be453f5844ee2d56eaf63e9 (patch)
tree8217a412d349e1f0c9228dd6124d60db5288acaf
parent083df255e4f67c6499a97bc2d9e56a82948f78b4 (diff)
LSB Tag
like described in http://www.yacy-websuche.de/wiki/index.php/De:Service#Initscript_bearbeiten
-rwxr-xr-xaddon/yacyInit.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/addon/yacyInit.sh b/addon/yacyInit.sh
index ae2a0fdac..2ec6fb548 100755
--- a/addon/yacyInit.sh
+++ b/addon/yacyInit.sh
@@ -4,6 +4,16 @@
#
# Provided by Matthias Kempka, 26.12.2004
+### BEGIN INIT INFO
+# Provides: yacy
+# Required-Start: $network
+# Required-Stop: $network
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Distributed web search engine
+# Description: yacy is a distributed search engine config-file is <yacy_search_server>/DATA/SETTINGS/yacy.conf
+### END INIT INFO
+
# ensure java is in the path
PATH=/sbin:/bin:/usr/sbin:/usr/local/bin:/usr/bin
# installation directory