Skip to content
Snippets Groups Projects
Commit d2c531bc authored by Tomasz Wolniewicz's avatar Tomasz Wolniewicz
Browse files

text updates

parent 9f2ec7de
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,9 @@ resolution based on the host machine and standard port 80 for connections. ...@@ -60,7 +60,9 @@ resolution based on the host machine and standard port 80 for connections.
- As root run ` docker run -d --name otp_server --network host --rm otp_server:latest ` - As root run ` docker run -d --name otp_server --network host --rm otp_server:latest `
### Running the dosker image at boot ### Running the dosker image at boot
For systems using systemctl we suggest to install the new service called For systems using systemctl we suggest to install the new service called ` otp-docker `
to do that create the ` otp-docker.service ` file in ` /usr/lib/systemd/system ` with the
contents as below:
``` ```
[Unit] [Unit]
...@@ -79,6 +81,12 @@ ExecStop=/usr/bin/docker stop -t 2 otp_server ...@@ -79,6 +81,12 @@ ExecStop=/usr/bin/docker stop -t 2 otp_server
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
``` ```
Next reload the daemon: ` systemctl daemon-reload `, start and enable the servce:
```
systemctl start otp-docker
systemctl enable otp-docker
```
## Testing ## Testing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment