aboutsummaryrefslogtreecommitdiffstats
path: root/databases/memcached/files
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-07-11 17:01:50 +0800
committersem <sem@FreeBSD.org>2005-07-11 17:01:50 +0800
commit0ccd207dc30dd04ad541356153ce7ed954c5bd42 (patch)
tree88ecfba64ae44adbfc2204b72f686d374627c2fd /databases/memcached/files
parent9ae7cd536565b6049ca0de64095fcc6e1fd56bc0 (diff)
downloadfreebsd-ports-gnome-0ccd207dc30dd04ad541356153ce7ed954c5bd42.tar.gz
freebsd-ports-gnome-0ccd207dc30dd04ad541356153ce7ed954c5bd42.tar.zst
freebsd-ports-gnome-0ccd207dc30dd04ad541356153ce7ed954c5bd42.zip
- Update to 1.1.12
- rcNGfy Submitted by: glebius Approved by: maintainer timeout (1 month)
Diffstat (limited to 'databases/memcached/files')
-rw-r--r--databases/memcached/files/memcached.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/memcached/files/memcached.sh b/databases/memcached/files/memcached.sh
new file mode 100644
index 000000000000..f0082cdeb4a1
--- /dev/null
+++ b/databases/memcached/files/memcached.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+
+# PROVIDE: memcached
+# REQUIRE: NETWORKING
+
+#
+# Add the following lines to /etc/rc.conf to run memcached:
+#
+#memcached_enable="YES"
+#memcached_flags=""
+#
+. %%RC_SUBR%%
+
+name="memcached"
+rcvar=`set_rcvar`
+command=%%PREFIX%%/bin/memcached
+command_args="-du nobody ${memcached_flags}"
+
+load_rc_config $name
+run_rc_command "$1"