1.2 Rev1: Fix pidfile use
This commit is contained in:
parent
d4ecc319bb
commit
8fc1d0305e
1
Makefile
1
Makefile
@ -1,6 +1,7 @@
|
||||
PORTNAME= carp_exporter
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= https://git.nosd.in/yo/carp_exporter/archive/
|
||||
DISTNAME= ${DISTVERSIONPREFIX}${DISTVERSION}
|
||||
|
@ -31,7 +31,7 @@ load_rc_config $name
|
||||
|
||||
command="python3"
|
||||
command_args="/usr/local/bin/carp_exporter.py > ${carp_exporter_logfile} 2>&1"
|
||||
start_cmd="/usr/sbin/daemon -u ${carp_exporter_user} ${command} ${command_args}"
|
||||
start_cmd="/usr/sbin/daemon -u ${carp_exporter_user} -p ${carp_exporter_pidfile} ${command} ${command_args}"
|
||||
start_precmd="${name}_prestart"
|
||||
|
||||
carp_exporter_prestart()
|
||||
|
Loading…
Reference in New Issue
Block a user