mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
thttpd: remove unused files
Patch by Simon Pasch
This commit is contained in:
parent
18932cb003
commit
fd4c4ad6ec
@ -1,43 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
DAEMON=/usr/sbin/thttpd
|
|
||||||
test -f $DAEMON || exit 0
|
|
||||||
|
|
||||||
start() {
|
|
||||||
echo -n "Starting thttpd: "
|
|
||||||
$DAEMON -C /etc/thttpd.conf
|
|
||||||
if [ $? != 0 ]; then
|
|
||||||
echo "FAILED"
|
|
||||||
exit 1
|
|
||||||
else
|
|
||||||
echo "done"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
echo -n "Stopping ProFTPD: "
|
|
||||||
kill -9 `cat /var/run/thttpd.pid`
|
|
||||||
echo "done"
|
|
||||||
}
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
start)
|
|
||||||
start
|
|
||||||
;;
|
|
||||||
|
|
||||||
stop)
|
|
||||||
stop
|
|
||||||
;;
|
|
||||||
|
|
||||||
restart)
|
|
||||||
stop
|
|
||||||
start
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
echo "Usage: /etc/init.d/S90thttpd {start|stop|restart}"
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
exit 0
|
|
@ -1,7 +0,0 @@
|
|||||||
chroot
|
|
||||||
dir=/var/www
|
|
||||||
pidfile=/var/run/thttpd.pid
|
|
||||||
logfile=/var/log/thttpd
|
|
||||||
host=dtu-7100
|
|
||||||
user=nobody
|
|
||||||
cgipat=**.cgi
|
|
Loading…
x
Reference in New Issue
Block a user