File: memcache.sh

package info (click to toggle)
php-memcache 3.0.9~20170802.e702b5f-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,172 kB
  • sloc: ansic: 9,126; php: 1,015; xml: 760; sh: 3; makefile: 1
file content (9 lines) | stat: -rw-r--r-- 255 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
#!/bin/bash

# basic script to launch memcached for testing
memcached -p11211 -U11211 -d
memcached -p11212 -U11212 -d

# if this fails, make sure your user has permissions
# to write to /var/run/memcached
memcached -s /var/run/memcached/memcached.sock -d