diff options
author | startxfr <clarue@startx.fr> | 2015-11-28 23:32:45 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2015-11-28 23:32:45 +0100 |
commit | a490cfe364a242b1e9993225758ea6e61369e363 (patch) | |
tree | f4699d33f476c79a99db91781697c6b552a7b30e /Services/memcache/sx | |
parent | 42c264a48c9d7df0b5e55be370436e3ec0bb7667 (diff) | |
download | phpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.tar.gz phpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.tar.bz2 phpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.tar.xz phpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.zip |
reshapping of memcache container
Diffstat (limited to 'Services/memcache/sx')
-rw-r--r-- | Services/memcache/sx/memcache.sh | 41 | ||||
-rw-r--r-- | Services/memcache/sx/memcache_run.sh | 7 |
2 files changed, 0 insertions, 48 deletions
diff --git a/Services/memcache/sx/memcache.sh b/Services/memcache/sx/memcache.sh deleted file mode 100644 index d963a29..0000000 --- a/Services/memcache/sx/memcache.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash -export TERM=dumb - -# Begin configuration before starting daemonized process -# and start generating host keys -function begin_config { - echo "=> Begin memcached configuration for host $HOSTNAME" -} - -# End configuration process just before starting daemon -function end_config { - stop_server - echo "=> End memcached configuration ..." -} - -# Start the memcached server in background. Used to perform config -# against the database structure such as user creation -function start_server { - echo "===> Starting memcached server ..." - memcached -u daemon -d & - sleep 8 -} - -# Stop the memcached server running in background. -function stop_server { - echo "===> Stopping memcached server ..." - killall memcached - sleep 8 -} - -# Start the memcached server as a deamon and execute it inside -# the running shell -function start_daemon { - echo "=> Starting memcached daemon ..." - exec memcached -u daemon -} - - -if [[ "$0" == *"memcached.sh" && ! $1 = "" ]];then - eval "$@"; -fi
\ No newline at end of file diff --git a/Services/memcache/sx/memcache_run.sh b/Services/memcache/sx/memcache_run.sh deleted file mode 100644 index 8108386..0000000 --- a/Services/memcache/sx/memcache_run.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -source /sx/memcache.sh - -begin_config -end_config - -start_daemon
\ No newline at end of file |