summaryrefslogtreecommitdiffstats
path: root/lenovo
diff options
context:
space:
mode:
Diffstat (limited to 'lenovo')
-rwxr-xr-xlenovo/run.sh2
-rwxr-xr-xlenovo/stop.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/lenovo/run.sh b/lenovo/run.sh
index 0fa331f7..48e26cdc 100755
--- a/lenovo/run.sh
+++ b/lenovo/run.sh
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid
+memcached -d -m 2048 -c 1024 -p 11211 -P /tmp/memcached1.pid
export PYTHONPATH=lib/share
#nohup python manage.py runserver 0.0.0.0:9010 2>&1 &
diff --git a/lenovo/stop.sh b/lenovo/stop.sh
index f43fab1b..87f80ba8 100755
--- a/lenovo/stop.sh
+++ b/lenovo/stop.sh
@@ -15,4 +15,4 @@
#ps auxww | grep 'manage.py runserver 0.0.0.0:9010' | awk '{print $2}' | xargs kill -9
ps auxww |grep 'uwsgi --http :9010 --module thinkcloud.wsgi --master' |awk '{print $2}' |xargs kill -9
-ps auxww | grep 'memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid' | awk '{print $2}' | xargs kill -9
+ps auxww | grep 'memcached -d -m 2048 -c 1024 -p 11211 -P /tmp/memcached1.pid' | awk '{print $2}' | xargs kill -9