17 lines
389 B
Text
17 lines
389 B
Text
|
#!/sbin/runscript
|
||
|
|
||
|
start() {
|
||
|
ebegin "Starting Apache (with wrapper)"
|
||
|
start-stop-daemon --background --start --exec /bootstrap/start.sh \
|
||
|
--make-pidfile --pidfile /var/run/apache-start.pid
|
||
|
eend $?
|
||
|
}
|
||
|
|
||
|
|
||
|
stop() {
|
||
|
ebegin "Stopping Apache (with wrapper)"
|
||
|
start-stop-daemon --stop --exec /bootstrap/start.sh \
|
||
|
--pidfile /var/run/apache-start.pid
|
||
|
eend $?
|
||
|
}
|