From 6414ac9ecf1c63a203bd91bed159c39ab399faba Mon Sep 17 00:00:00 2001 From: lotus Date: Mon, 19 Oct 2009 17:05:15 +0000 Subject: [PATCH] fix for debian int script http://forum.yacy-websuche.de/viewtopic.php?t=2418 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6430 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- addon/yacyInit.m4 | 4 ++-- addon/yacyInit.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addon/yacyInit.m4 b/addon/yacyInit.m4 index 3f837da92..d99eea93d 100644 --- a/addon/yacyInit.m4 +++ b/addon/yacyInit.m4 @@ -176,7 +176,7 @@ ifdef(`Fedora', ` ifdef(`ArchLinux', ` stat_busy "Starting YaCy Daemon" ')dnl - ARGS="$JAVA_ARGS -classpath $CLASSPATH yacy" + ARGS="$JAVA_ARGS -classpath $CLASSPATH net.yacy.yacy" define(`START_YACY_WITH_START_STOP_DAEMON',` /sbin/start-stop-daemon --start --background --make-pidfile --chuid $USER\ --pidfile $PID_FILE --chdir $YACY_HOME --startas $JAVA\ @@ -248,7 +248,7 @@ ifdef(`ArchLinux', ` stat_busy "Stopping YaCy Daemon" ')dnl cd $YACY_HOME - cmdline="$JAVA $JAVA_ARGS -cp $CLASSPATH yacy -shutdown" + cmdline="$JAVA $JAVA_ARGS -cp $CLASSPATH net.yacy.yacy -shutdown" if [ "$(whoami)" != "$USER" ]; then sudo -u yacy $cmdline &>/dev/null & else diff --git a/addon/yacyInit.sh b/addon/yacyInit.sh index 2fb33aca5..c0f127752 100755 --- a/addon/yacyInit.sh +++ b/addon/yacyInit.sh @@ -69,7 +69,7 @@ case "$1" in start-stop-daemon --start --background --make-pidfile --chuid $USER\ --pidfile $PID_FILE --chdir $DAEMON_DIR --startas $JAVA\ --nicelevel $NICE_VAL\ - -- $JAVA_ARGS -classpath $CLASSPATH yacy $DAEMON_DIR + -- $JAVA_ARGS -classpath $CLASSPATH net.yacy.yacy $DAEMON_DIR echo "$NAME." ;;