mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
Cosmetic changes to the rc.d file
Submitted by: dougb Approved by: araujo (mentor), maintainer implicit
This commit is contained in:
parent
065222e49f
commit
1bdeeeecc0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217822
@ -15,17 +15,14 @@
|
||||
name=nsd
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
required_files=%%PREFIX%%/etc/nsd/nsd.conf
|
||||
|
||||
command=/usr/local/sbin/${name}
|
||||
command=%%PREFIX%%/sbin/${name}
|
||||
pidfile=/var/run/${name}.pid
|
||||
|
||||
load_rc_config ${name}
|
||||
|
||||
nsd_enable=${nsd_enable:-"NO"}
|
||||
nsd_flags=${nsd_flags:-""}
|
||||
nsd_enable=${nsd_enable-"NO"}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user