diff options
author | feld <feld@FreeBSD.org> | 2015-04-24 23:43:03 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2015-04-24 23:43:03 +0800 |
commit | 443a75b91f2d7590fa84fc6a582559d8bb1eebc1 (patch) | |
tree | 25c4784c335c4b69d2339d813b68fbf333bb0ee1 | |
parent | 2ea866fb0967c9fb17c1ea507b4009b29e550330 (diff) | |
download | freebsd-ports-gnome-443a75b91f2d7590fa84fc6a582559d8bb1eebc1.tar.gz freebsd-ports-gnome-443a75b91f2d7590fa84fc6a582559d8bb1eebc1.tar.zst freebsd-ports-gnome-443a75b91f2d7590fa84fc6a582559d8bb1eebc1.zip |
Add "reload" command to rc script
Pass rclint
-rw-r--r-- | irc/inspircd/Makefile | 2 | ||||
-rw-r--r-- | irc/inspircd/files/inspircd.in | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/irc/inspircd/Makefile b/irc/inspircd/Makefile index 5de3f46d3a0d..e6bad097cd8b 100644 --- a/irc/inspircd/Makefile +++ b/irc/inspircd/Makefile @@ -3,7 +3,7 @@ PORTNAME= inspircd PORTVERSION= 2.0.18 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= irc MAINTAINER= feld@FreeBSD.org diff --git a/irc/inspircd/files/inspircd.in b/irc/inspircd/files/inspircd.in index 3bed41d7e486..50d9a502cdd1 100644 --- a/irc/inspircd/files/inspircd.in +++ b/irc/inspircd/files/inspircd.in @@ -35,7 +35,7 @@ load_rc_config ${name} : ${inspircd_pidfile="%%INSPIRCD_RUN%%/inspircd.pid"} : ${inspircd_user="%%USERS%%"} : ${inspircd_group="%%GROUPS%%"} -: ${inspircd_data="/var/db/inspircd"} +: ${inspircd_data=/var/db/inspircd} : ${inspircd_logfile="%%INSPIRCD_LOG%%"} : ${inspircd_flags="${inspircd_flags} --logfile ${inspircd_logfile} --config ${inspircd_config}"} @@ -45,6 +45,7 @@ procname=%%PREFIX%%/bin/inspircd pidfile=${inspircd_pidfile} required_files=${inspircd_config} start_precmd=inspircd_prestart +extra_commands=reload inspircd_prestart() { |