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 ``` 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: