From 4c94074e781a65f72be453f5844ee2d56eaf63e9 Mon Sep 17 00:00:00 2001 From: Velociraptor85 Date: Sat, 24 Dec 2016 15:20:02 +0100 Subject: [PATCH] LSB Tag like described in http://www.yacy-websuche.de/wiki/index.php/De:Service#Initscript_bearbeiten --- addon/yacyInit.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 /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