From f0fbe3ffc80ad654a3b4f38622c0f2251cc8ad52 Mon Sep 17 00:00:00 2001 From: "Hongli Lai (Phusion)" Date: Thu, 6 Feb 2014 12:23:15 +0100 Subject: [PATCH] Use setuser instead of chpst in the memcached example for consistency. Closes GH-8 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 184362b..5adf5c2 100644 --- a/README.md +++ b/README.md @@ -129,9 +129,9 @@ Here's an example showing you how to a memached server runit entry can be made. ### In memcached.sh (make sure this file is chmod +x): #!/bin/sh - # `chpst` is part of running. `chpst -u memcache` runs the given command - # as the user `memcache`. If you omit this, the command will be run as root. - exec chpst -u memcache /usr/bin/memcached >>/var/log/memcached.log 2>&1 + # `/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 ### In Dockerfile: RUN mkdir /etc/service/memcached