Run terraria over haproxy
This commit is contained in:
parent
ac99940e17
commit
1a768f93ea
|
@ -3,7 +3,7 @@ Description=Terraria server
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/mono /opt/terraria/TerrariaServer.exe -world "Worlds/{{ terraria.world }}.wld" -autocreate 3
|
ExecStart=/bin/mono /opt/terraria/TerrariaServer.exe -world "Worlds/{{ terraria.world }}.wld" -autocreate 3 -port {{ terraria.bind.port }} -ip {{ terraria.bind.ip }}
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
User=nobody
|
User=nobody
|
||||||
Group=nogroup
|
Group=nogroup
|
||||||
|
|
Reference in New Issue