File: memcache.sh

package info (click to toggle)
php-memcache 8.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 784 kB
  • sloc: ansic: 5,074; xml: 830; php: 775; pascal: 53; sh: 24; makefile: 2
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