Improved directory tree of Hebdobot files.

This commit is contained in:
Christian P. MOMON 2018-01-10 03:59:21 +01:00
parent 6891d29f48
commit c68a47b538
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
# #
# Revue settings. # Revue settings.
review.directory=reviews review.directory=../reviews
review.file.suffix=revue.txt review.file.suffix=revue.txt

View File

@ -15,7 +15,7 @@ NAME=hebdobot
BASE_DIR=/srv/$NAME BASE_DIR=/srv/$NAME
PID_FILE=$BASE_DIR/$NAME.pid PID_FILE=$BASE_DIR/$NAME.pid
DAEMON=$(which java) DAEMON=$(which java)
DAEMON_ARGS="-jar hebdobot.jar -c hebdobot.conf" DAEMON_ARGS="-jar bin/hebdobot.jar -c conf/hebdobot.conf"
CMD="/sbin/start-stop-daemon --chdir $BASE_DIR --quiet --make-pidfile --pidfile $PID_FILE --exec $DAEMON" CMD="/sbin/start-stop-daemon --chdir $BASE_DIR --quiet --make-pidfile --pidfile $PID_FILE --exec $DAEMON"
case "$1" in case "$1" in

View File

@ -14,7 +14,7 @@ log4j.appender.stdout.layout.ConversionPattern = %m%n
#-- #--
log4j.appender.LogWriter = org.apache.log4j.RollingFileAppender log4j.appender.LogWriter = org.apache.log4j.RollingFileAppender
log4j.appender.LogWriter.File = /srv/hebdobot/hebdobot.log log4j.appender.LogWriter.File = /srv/hebdobot/logs/hebdobot.log
log4j.appender.LogWriter.MaxFileSize = 100000KB log4j.appender.LogWriter.MaxFileSize = 100000KB
log4j.appender.LogWriter.MaxBackupIndex = 5 log4j.appender.LogWriter.MaxBackupIndex = 5
log4j.appender.LogWriter.layout = org.apache.log4j.PatternLayout log4j.appender.LogWriter.layout = org.apache.log4j.PatternLayout