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

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
}