Skip to content

Commit db196de

Browse files
committed
docs: mark restart policy as always
1 parent b66ba98 commit db196de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
Start a syncplay service at `tcp/8999` with one command.
44

55
```bash
6-
docker run -d --network host --name syncplay dnomd343/syncplay
6+
docker run -d --network host --restart always --name syncplay dnomd343/syncplay
77
```
88

99
More arguments can be specified.
1010

1111
```bash
12-
docker run -d --network host --name syncplay dnomd343/syncplay \
12+
docker run -d --network host --restart always --name syncplay dnomd343/syncplay \
1313
--port 12345 --password dnomd343 --motd hello --isolate-room --disable-chat
1414
```
1515

1616
You can also use environment variables to specify.
1717

1818
```bash
19-
docker run -d --network host --name syncplay \
19+
docker run -d --network host --restart always --name syncplay \
2020
--env PORT=12345 \
2121
--env PASSWD=dnomd343 \
2222
--env MOTD="Hello World" \
@@ -27,7 +27,7 @@ docker run -d --network host --name syncplay \
2727
Enable TLS support of Syncplay server.
2828

2929
```bash
30-
docker run -d --network host --name syncplay \
30+
docker run -d --network host --restart always --name syncplay \
3131
--volume /etc/ssl/certs/343.re/:/certs/ dnomd343/syncplay --enable-tls
3232
```
3333

0 commit comments

Comments
 (0)