Prefix OpenBSD config values and add TMPDIR
This commit is contained in:
parent
c4ed56137d
commit
a7e848d4a1
|
@ -1,2 +1,3 @@
|
|||
socket_path="/var/www/run/dexter.sock"
|
||||
script_path="/var/www/cgi-bin/dexter/dexter.pl"
|
||||
dexter_socket_path="/var/www/run/dexter.sock"
|
||||
dexter_script_path="/var/www/cgi-bin/dexter/dexter.pl"
|
||||
dexter_tmpdir="/tmp/dexter"
|
|
@ -2,11 +2,17 @@
|
|||
daemon="plackup"
|
||||
daemon_user="www"
|
||||
|
||||
dexter_script_path="/var/www/cgi-bin/dexter/dexter.pl"
|
||||
dexter_socket_path="/var/www/run/dexter.sock"
|
||||
dexter_psgi_mode="production"
|
||||
dexter_tmpdir="/tmp/dexter"
|
||||
TMPDIR="$dexter_tmpdir"; export TMPDIR
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_start() {
|
||||
. /etc/dexter.conf
|
||||
rc_exec "${daemon} ${script_path} -s FCGI -l ${socket_path} -E production -D"
|
||||
rc_exec "${daemon} ${script_path} -s FCGI -l ${socket_path} -E ${dexter_psgi_mode} -D"
|
||||
}
|
||||
|
||||
rc_stop() {
|
||||
|
|
Loading…
Reference in New Issue