seafile-containerized/image/base/services/memcached.sh
2016-11-12 15:15:26 +08:00

5 lines
219 B
Bash
Executable file

#!/bin/sh
# `/sbin/setuser memcache` runs the given command as the user `memcache`.
# If you omit that part, the command will be run as root.
exec /sbin/setuser memcache /usr/bin/memcached >>/var/log/memcached.log 2>&1