seafile-containerized/image/base/services/memcached.sh
2016-11-21 10:50:30 +08:00

5 lines
221 B
Bash
Executable file

#!/bin/bash
# `/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