From 13dc52516915f9d061f0649c62e1f82186423d4c Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Mon, 24 Aug 2015 18:35:51 +0800 Subject: [PATCH 1/2] doc: clerify install document about start/stop/restart drone Signed-off-by: Chengwei Yang --- doc/setup/install.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/setup/install.md b/doc/setup/install.md index 1f7bb220e..fc140d45e 100644 --- a/doc/setup/install.md +++ b/doc/setup/install.md @@ -33,6 +33,8 @@ Here are some of the Docker options, explained: Drone uses environment variables for runtime settings and configuration, such as GitHub, GitLab, plugins and more. These settings can be provided to Docker using an `--env-file` as seen above. +Once you have your drone container created, then you can start/stop/restart it in below ways. + ## Starting, Stopping, Logs Commands to start, stop and restart Drone: @@ -60,12 +62,8 @@ start on filesystem and started docker stop on runlevel [!2345] respawn -pre-start script - /usr/bin/docker rm -f drone -end script - script - /usr/bin/docker run -a drone + /usr/bin/docker start -a drone end script ``` From 57b2392366280db0797df0f2d74a92c923512538 Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Tue, 25 Aug 2015 15:23:27 +0800 Subject: [PATCH 2/2] doc: Fix typo ListAndServerTLS -> ListenAndServeTLS Signed-off-by: Chengwei Yang --- doc/setup/server.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/setup/server.md b/doc/setup/server.md index ddb5b0466..d685271cb 100644 --- a/doc/setup/server.md +++ b/doc/setup/server.md @@ -18,7 +18,7 @@ SERVER_ADDR=":80" ## Server SSL -Drone uses the `ListAndServerTLS` function in the Go standard library to accept `https` connections. If you experience any issues configuring `https` please contact us on [gitter](https://gitter.im/drone/drone). Please do not log an issue saying `https` is broken in Drone (it isn't). +Drone uses the `ListenAndServeTLS` function in the Go standard library to accept `https` connections. If you experience any issues configuring `https` please contact us on [gitter](https://gitter.im/drone/drone). Please do not log an issue saying `https` is broken in Drone (it isn't). This example accepts `HTTPS` connections: