aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerardo Zamudio <gerardo.zamudio@linux.com>2016-10-24 17:33:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-24 17:33:58 +0700
commit68cbfc1f475e57f94f789fde7a28942ecb449adc (patch)
tree1d864492c0dee363cc6df52d3b97b416dc087da7
parentd58a7da5154fcf4f34189f83641bac99f3baece6 (diff)
network/opendkim: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/opendkim/README6
-rw-r--r--network/opendkim/rc.opendkim2
2 files changed, 4 insertions, 4 deletions
diff --git a/network/opendkim/README b/network/opendkim/README
index 3fd62deafd582..7b7c156c031ae 100644
--- a/network/opendkim/README
+++ b/network/opendkim/README
@@ -18,7 +18,7 @@ useradd -r -u 305 -g opendkim -d /var/run/opendkim/ -s /sbin/nologin \
You may specify alternate values if desired:
-DKUSER=nobody DKGROUP=nobody ./OpenDKIM.SlackBuild
+DKUSER=nobody DKGROUP=nobody ./opendkim.SlackBuild
A sample config file has been placed in /etc/opendkim.conf
@@ -29,7 +29,7 @@ disable this behavior.
Optional MySQL and Unbound support is provided. Note that MySQL
support requires OpenDBX installed. To enable:
-USE_MYSQL=yes ./OpenDKIM.SlackBuild
-USE_UNBOUND=yes ./OpenDKIM.SlackBuild
+USE_MYSQL=yes ./opendkim.SlackBuild
+USE_UNBOUND=yes ./opendkim.SlackBuild
Unbound will require the unbound package which is available in SlackBuilds.
diff --git a/network/opendkim/rc.opendkim b/network/opendkim/rc.opendkim
index ae30ca7deadb7..23170a16e6926 100644
--- a/network/opendkim/rc.opendkim
+++ b/network/opendkim/rc.opendkim
@@ -57,7 +57,7 @@ case "$1" in
echo OpenDKIM is not running!
exit 2;
else
- kill -TERM "$(cat $PID_FILE)" && rm -rf /var/run/opendkim.pid
+ kill -TERM "$(cat $PID_FILE)" && rm -rf $PID_FILE
fi
;;
status)