1
0
mirror of /repos/baseimage-docker.git synced 2025-12-30 08:01:31 +01:00

Fix typos in README

This commit is contained in:
Hongli Lai (Phusion) 2013-11-20 15:52:18 +01:00
parent c7eb6e98e2
commit 67a9684f0a
No known key found for this signature in database
GPG Key ID: 06A131094B6F4332

View File

@ -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. 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/<NAME>`. The shell script must be called `run`, must be executable, and is to be placed in the directory `/etc/service/<NAME>`.
Here's an example showing you how to a memached server runit entry can be made. 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 exec chpst -u memcache /usr/bin/memcached >>/var/log/memcached.log 2>&1
### In Dockerfile: ### In Dockerfile:
RUN mkdir /etc/services/memcached RUN mkdir /etc/service/memcached
ADD redis.sh /etc/services/memcached/run 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. 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.