From 67a9684f0a59accb9d82d34a003dc48a2e6eedd8 Mon Sep 17 00:00:00 2001 From: "Hongli Lai (Phusion)" Date: Wed, 20 Nov 2013 15:52:18 +0100 Subject: [PATCH] Fix typos in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5ad69b0..be9c985 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ By default, it allows SSH access for the key in `image/insecure_key`. This makes You can add additional daemons to the image by creating runit entries. You only have to write a small shell script which runs your daemon, and runit will keep it up and running for you, restarting it when it crashes, etc. -The shell script must be called `run`, must be executable, and is to be placed in the directory `/etc/services/`. +The shell script must be called `run`, must be executable, and is to be placed in the directory `/etc/service/`. Here's an example showing you how to a memached server runit entry can be made. @@ -96,8 +96,8 @@ Here's an example showing you how to a memached server runit entry can be made. exec chpst -u memcache /usr/bin/memcached >>/var/log/memcached.log 2>&1 ### In Dockerfile: - RUN mkdir /etc/services/memcached - ADD redis.sh /etc/services/memcached/run + RUN mkdir /etc/service/memcached + ADD memcached.sh /etc/service/memcached/run Note that the shell script must run the daemon **without letting it daemonize/fork it**. Usually, daemons provide a command line flag or a config file option for that.