- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
33 lines
600 B
Bash
33 lines
600 B
Bash
#!/bin/sh
|
|
DAEMON=/usr/sbin/cherokee
|
|
CONFIG=/etc/cherokee/cherokee.conf
|
|
PIDFILE=/var/run/cherokee.pid
|
|
NAME="cherokee"
|
|
DESC="Cherokee http server"
|
|
|
|
test -r /etc/default/cherokee && . /etc/default/cherokee
|
|
test -x "$DAEMON" || exit 0
|
|
test ! -r "$CONFIG" && exit 0
|
|
|
|
case "$1" in
|
|
start)
|
|
echo "Starting $DESC: "
|
|
start-stop-daemon --oknodo -S -x $DAEMON -- -d -C $CONFIG
|
|
;;
|
|
|
|
stop)
|
|
echo "Stopping $DESC:"
|
|
start-stop-daemon -K -p $PIDFILE
|
|
;;
|
|
|
|
restart)
|
|
$0 stop >/dev/null 2>&1
|
|
$0 start
|
|
;;
|
|
|
|
*)
|
|
echo "Usage: $0 {start|stop|restart}"
|
|
exit 0
|
|
;;
|
|
esac
|