mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
16 lines
345 B
Bash
16 lines
345 B
Bash
#!/bin/ksh
|
|
|
|
daemon="${LOCALBASE}/bin/spawn-fcgi"
|
|
# chroot version
|
|
daemon_flags="-c /var/www -s run/mapcache.sock -u www -- /cgi-bin/mapcache"
|
|
# non-chroot version
|
|
# daemon_flags="-s /var/www/run/mapcache.sock -u www -- /var/www/cgi-bin/mapcache"
|
|
daemon_class=mapcache
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
# chroot version
|
|
pexp=".*/cgi-bin/mapcache"
|
|
|
|
rc_cmd $1
|