summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorvsevolod <vsevolod@FreeBSD.org>2005-11-03 13:43:00 +0000
committervsevolod <vsevolod@FreeBSD.org>2005-11-03 13:43:00 +0000
commit22f94fe14daed6172cc02fe8ff88647b07b21b41 (patch)
treede590b95850fbbe0ac682d4f09490f3cbfbe1eb9 /mail
parent461f14815faca1e1a59c9f4541c65b8ab98bf2c0 (diff)
downloadFreeBSD-ports-22f94fe14daed6172cc02fe8ff88647b07b21b41.zip
FreeBSD-ports-22f94fe14daed6172cc02fe8ff88647b07b21b41.tar.gz
- Fix for the exilog.sh rc script to make "status" and "restart" command work correctly
PR: 87972 Submitted by: Alex Samorukov <samm@os2.kiev.ua>
Diffstat (limited to 'mail')
-rw-r--r--mail/exilog/Makefile2
-rw-r--r--mail/exilog/files/exilog.sh13
2 files changed, 5 insertions, 10 deletions
diff --git a/mail/exilog/Makefile b/mail/exilog/Makefile
index a16dcc1..ec54bce 100644
--- a/mail/exilog/Makefile
+++ b/mail/exilog/Makefile
@@ -7,7 +7,7 @@
PORTNAME= exilog
PORTVERSION= 0.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://duncanthrax.net/exilog/
diff --git a/mail/exilog/files/exilog.sh b/mail/exilog/files/exilog.sh
index 7cdb696..2e35be6 100644
--- a/mail/exilog/files/exilog.sh
+++ b/mail/exilog/files/exilog.sh
@@ -5,6 +5,8 @@
# Add the following lines to /etc/rc.conf to enable exilog agent:
#
#exilog_enable="YES"
+#
+# also uncomment 'use_pretty_names' => 'no' in exilog.conf file
. %%RC_SUBR%%
@@ -14,17 +16,10 @@ rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/exilog_agent.pl
pidfile=/var/run/exilog.pid
required_files=%%PREFIX%%/etc/exilog.conf
+command_interpreter=/usr/bin/perl
# read settings, set default values
load_rc_config $name
: ${exilog_enable="NO"}
-case $1 in
- stop)
- kill `cat $pidfile`
- rm -f $pidfile
- ;;
- *)
- run_rc_command "$1"
- ;;
-esac
+run_rc_command "$1"
OpenPOWER on IntegriCloud