diff options
author | sem <sem@FreeBSD.org> | 2005-07-11 17:01:50 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-07-11 17:01:50 +0800 |
commit | 0ccd207dc30dd04ad541356153ce7ed954c5bd42 (patch) | |
tree | 88ecfba64ae44adbfc2204b72f686d374627c2fd /databases/memcached/files | |
parent | 9ae7cd536565b6049ca0de64095fcc6e1fd56bc0 (diff) | |
download | freebsd-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.sh | 21 |
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" |