blob: 2d93ba5a7252fba28babd25ebc84500e0e4e623f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[Unit]
Description = Space Station 14 container
After = network.target
ConditionPathExists = /srv/ss14-server
[Service]
Type = simple
ExecStartPre = -/usr/bin/podman stop ss14-server
ExecStart = /usr/bin/podman run \
--rm \
--name ss14-server \
--net host \
-v /srv/ss14-server:/opt/ss14/server \
-p 1212:1212 \
ss14-server
[Install]
WantedBy = default.target
|