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

Update README

This commit is contained in:
Hongli Lai (Phusion) 2014-02-06 12:36:06 +01:00
parent a8db7a386f
commit 4ab0625de0
No known key found for this signature in database
GPG Key ID: 06A131094B6F4332

View File

@ -121,7 +121,7 @@ By default, it allows SSH access for the key in `image/insecure_key`. This makes
<a name="adding_additional_daemons"></a> <a name="adding_additional_daemons"></a>
### Adding additional daemons ### Adding additional daemons
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 (e.g. your own app) 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/service/<NAME>`. The shell script must be called `run`, must be executable, and is to be placed in the directory `/etc/service/<NAME>`.