aboutsummaryrefslogtreecommitdiffstats
path: root/databases/memcachedb/files/memcachedb.in
diff options
context:
space:
mode:
Diffstat (limited to 'databases/memcachedb/files/memcachedb.in')
-rw-r--r--databases/memcachedb/files/memcachedb.in15
1 files changed, 3 insertions, 12 deletions
diff --git a/databases/memcachedb/files/memcachedb.in b/databases/memcachedb/files/memcachedb.in
index 5258ab91019..025c58ab85d 100644
--- a/databases/memcachedb/files/memcachedb.in
+++ b/databases/memcachedb/files/memcachedb.in
@@ -18,18 +18,9 @@ rcvar=`set_rcvar`
load_rc_config $name
-: ${memcachedb_bind="127.0.0.1"}
-: ${memcachedb_dbfile="/var/db/memcachedb/default.db"}
-: ${memcachedb_dbpath="/var/db/memcachedb"}
-: ${memcachedb_enable="NO"}
-: ${memcachedb_pidfile="/var/run/memcachedb.pid"}
-: ${memcachedb_port="11211"}
-: ${memcachedb_user="nobody"}
-
-command=%%PREFIX%%/sbin/${name}
-command_args="-p ${memcachedb_port} -l ${memcachedb_bind} -d -u ${memcachedb_user} -f ${memcachedb_dbfile} -H ${memcachedb_dbpath} -P ${memcachedb_pidfile}"
-
-unset memcachedb_user
+command="%%PREFIX%%/sbin/${name}"
+
+: ${memcachedb_flags="-p11211 -l 127.0.0.1 -d -u nobody -f /var/db/memcachedb/default.db -H /var/db/memcachedb -P /var/run/memcachedb.pid"}
run_rc_command "$1"