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

START='S50'
STOP='K60'

start()
{
	log 'Starting httpd'
	start-stop-daemon -S -q -n httpd -x /usr/sbin/httpd -- -h /var/www
}

stop()
{
	log 'Stopping httpd'
	start-stop-daemon -K -q -n httpd
}