summaryrefslogtreecommitdiff
path: root/network/lighttpd2/conf/rc.lighttpd2
diff options
context:
space:
mode:
Diffstat (limited to 'network/lighttpd2/conf/rc.lighttpd2')
-rw-r--r--network/lighttpd2/conf/rc.lighttpd28
1 files changed, 1 insertions, 7 deletions
diff --git a/network/lighttpd2/conf/rc.lighttpd2 b/network/lighttpd2/conf/rc.lighttpd2
index 31ade849fe..e7a8ca286a 100644
--- a/network/lighttpd2/conf/rc.lighttpd2
+++ b/network/lighttpd2/conf/rc.lighttpd2
@@ -19,6 +19,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+# Adapted for lighttpd2 by Matteo Bernardini <ponce@slackbuilds.org>
LIGHTTPD=/usr/sbin/lighttpd2
LIGHTTPD_OPTIONS="-c /etc/lighttpd2/angel.conf"
@@ -53,10 +54,6 @@ lighttpd_restart() {
lighttpd_start
}
-lighttpd_reload() {
- kill -s HUP $PIDOF_WORKER
-}
-
case "$1" in
'start')
lighttpd_start
@@ -67,9 +64,6 @@ case "$1" in
restart)
lighttpd_restart
;;
-reload)
- lighttpd_reload
- ;;
*)
echo "usage $0 start|stop|restart"
esac