Hallo Leute,
bin mit meinem Latein am Ende und hoffe, ihr habt noch einen Tip für mich.
Lighttpd startet bei einem Neustart der DS nicht automatisch mit.
Das manuelle Aufrufen des Startscriptes funktioniert ohne Probleme.
bin mit meinem Latein am Ende und hoffe, ihr habt noch einen Tip für mich.
Lighttpd startet bei einem Neustart der DS nicht automatisch mit.
Das manuelle Aufrufen des Startscriptes funktioniert ohne Probleme.
Rich (BBCode):
ds210> cd /usr/syno/etc.defaults/rc.d/
ds210> nano S87lighttpd
GNU nano 2.2.5 File: S87lighttpd
#!/bin/sh
prefix="/opt"
PATH=${prefix}/bin:${prefix}/sbin:/sbin:/bin:/usr/sbin:/usr/bin
NAME=lighttpd
DAEMON=${prefix}/sbin/${NAME}
DAEMON_OPTS="-f ${prefix}/etc/lighttpd/lighttpd.conf"
test -x $DAEMON || exit 0
if [ -z "$1" ] ; then
case `echo "$0" | sed 's:^.*/\(.*\):\1:g'` in
S??*) rc="start" ;;
K??*) rc="stop" ;;
*) rc="usage" ;;
esac
else
rc="$1"
fi
case "$rc" in
start)
echo "Starting web server: $NAME"
$DAEMON $DAEMON_OPTS
;;
stop)
if [ -n "`pidof $NAME`" ]; then
echo "Stopping web server: $NAME"
killall $NAME 2> /dev/null
fi
;;
restart)
Rich (BBCode):
-rwxr-xr-x 1 root root 809 Sep 27 10:15 S87lighttpd