aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2011-08-14 08:44:33 +0800
committerswills <swills@FreeBSD.org>2011-08-14 08:44:33 +0800
commit4c9f85dacda6279ccbed46ba835e70d0316eeff2 (patch)
tree14cd365b531cd5308a63cc0d842e7807114e8070 /databases
parentd08b92667fb455d6236f6312d674f100d3bd3c40 (diff)
downloadfreebsd-ports-gnome-4c9f85dacda6279ccbed46ba835e70d0316eeff2.tar.gz
freebsd-ports-gnome-4c9f85dacda6279ccbed46ba835e70d0316eeff2.tar.zst
freebsd-ports-gnome-4c9f85dacda6279ccbed46ba835e70d0316eeff2.zip
- rc script cleanups
PR: ports/158985 Submitted by: swills (me) Approved by: maintainer timeout (mnag)
Diffstat (limited to 'databases')
-rw-r--r--databases/memcached/Makefile2
-rw-r--r--databases/memcached/files/memcached.in7
2 files changed, 4 insertions, 5 deletions
diff --git a/databases/memcached/Makefile b/databases/memcached/Makefile
index 9ef9e814343d..97e5df3deded 100644
--- a/databases/memcached/Makefile
+++ b/databases/memcached/Makefile
@@ -7,7 +7,7 @@
PORTNAME= memcached
PORTVERSION= 1.4.5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
${MASTER_SITE_GENTOO}
diff --git a/databases/memcached/files/memcached.in b/databases/memcached/files/memcached.in
index e427c45ac469..6d11b06f54ae 100644
--- a/databases/memcached/files/memcached.in
+++ b/databases/memcached/files/memcached.in
@@ -4,6 +4,7 @@
#
# PROVIDE: memcached
# REQUIRE: DAEMON
+# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to run memcached:
#
@@ -41,10 +42,10 @@ else
for profile in ${memcached_profiles}; do
eval _enable="\${memcached_${profile}_enable}"
case "x${_enable:-${memcached_enable}}" in
- x|x[Nn][Oo]|x[Nn][Oo][Nn][Ee])
+ x[Nn][Oo]|x[Ff][Aa][Ll][Ss][Ee]|x[Oo][Ff][Ff]|x0)
continue
;;
- x[Yy][Ee][Ss])
+ x[Yy][Ee][Ss]|x[Tt][Rr][Uu][Ee]|x[Oo][Nn]|x1)
;;
*)
if test -z "$_enable"; then
@@ -78,6 +79,4 @@ fi
command=%%PREFIX%%/bin/memcached
command_args="-d -u ${memcached_user} -P ${pidfile} "
-unset memcached_user
-
run_rc_command "$1"