diff options
author | seanc <seanc@FreeBSD.org> | 2006-02-22 03:37:31 +0800 |
---|---|---|
committer | seanc <seanc@FreeBSD.org> | 2006-02-22 03:37:31 +0800 |
commit | 7b54e8e6cc58c3da422c8c90becb8fc82979fd8d (patch) | |
tree | 7d6ecf54d39004ff9e5267e2797bbb82a6746f5c /databases/memcached | |
parent | ec77a6fee16f45a5033d8a44e5ffc8cac6822aec (diff) | |
download | freebsd-ports-gnome-7b54e8e6cc58c3da422c8c90becb8fc82979fd8d.tar.gz freebsd-ports-gnome-7b54e8e6cc58c3da422c8c90becb8fc82979fd8d.tar.zst freebsd-ports-gnome-7b54e8e6cc58c3da422c8c90becb8fc82979fd8d.zip |
Clean up memcached startup script: no functional changes.
PR: ports/93645
Submitted by: mnag@
Diffstat (limited to 'databases/memcached')
-rw-r--r-- | databases/memcached/files/memcached.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/databases/memcached/files/memcached.in b/databases/memcached/files/memcached.in index f991c18e3677..a5826cd86977 100644 --- a/databases/memcached/files/memcached.in +++ b/databases/memcached/files/memcached.in @@ -18,15 +18,14 @@ . %%RC_SUBR%% name="memcached" -rcvar=`set_rcvar` +rcvar=${name}_enable -load_rc_config $name +load_rc_config ${name} : ${memcached_enable="NO"} -: ${memcached_flags=""} : ${memcached_user="nobody"} command=%%PREFIX%%/bin/memcached -command_args="-d -u ${memcached_user} ${memcached_flags}" +command_args="-d -u ${memcached_user}" run_rc_command "$1" |