kcgi: patch the rc script
kcgi knows how to reload with SIGHUP so allow reloading via the script Tell daemon(8) so sent logs to syslog Submitted by: June Bug <june@causal.agency> (by email)
This commit is contained in:
parent
9893033c5f
commit
419cdb17d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542653
2 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= kcgi
|
||||
PORTVERSION= 0.12.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www devel
|
||||
MASTER_SITES= http://kristaps.bsd.lv/kcgi/snapshots/
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
name="kfcgi"
|
||||
rcvar="kfcgi_enable"
|
||||
extra_commands="reload"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
|
@ -68,6 +69,6 @@ fi
|
|||
# This ensures they are actually passed to kfcgi instead.
|
||||
actual_kfcgi_flags="${kfcgi_flags}"
|
||||
kfcgi_flags=""
|
||||
command_args="-f -p ${pidfile} -- ${procname} -d ${actual_kfcgi_flags} -- ${kfcgi_prog}"
|
||||
command_args="-T ${name} -p ${pidfile} -- ${procname} -d ${actual_kfcgi_flags} -- ${kfcgi_prog}"
|
||||
|
||||
run_rc_command "$1"
|
||||
|
|
Loading…
Reference in a new issue