mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
842ac037d8
switch to upstream's config samples. this moves default config to a subdir; move your config from /etc/lighttpd.conf to /etc/lighttpd/lighttpd.conf or 'rcctl set lighttpd flags -f /etc/lighttpd.conf' etc as necessary
12 lines
181 B
Bash
Executable File
12 lines
181 B
Bash
Executable File
#!/bin/ksh
|
|
|
|
daemon="${TRUEPREFIX}/sbin/lighttpd"
|
|
daemon_flags="-f ${SYSCONFDIR}/lighttpd/lighttpd.conf"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
rc_reload_signal=SIGUSR1
|
|
rc_stop_signal=INT
|
|
|
|
rc_cmd $1
|