summaryrefslogtreecommitdiffstats
path: root/src.etc/init.d/httpd
blob: 2ebd361bc6fbd21ef6c618ba2fcc5e29987b1e03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh /etc/rc.common

START='50'
STOP='60'

start()
{
	log 'Starting HTTP daemon'
	start-stop-daemon -S -q -p /var/run/httpd.pid -m \
		-x /usr/sbin/httpd -b -- -f -h /var/www
}

stop()
{
	log 'Stopping HTTP daemon'
	start-stop-daemon -K -q -p /var/run/httpd.pid
}