This repository has been archived on 2020-08-22. You can view files and clone it, but cannot push or open issues or pull requests.
2020-08-22 14:49:50 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Terraria server
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2020-08-22 15:12:23 +00:00
|
|
|
ExecStart=/bin/mono /opt/terraria/TerrariaServer.exe -world "Worlds/{{ terraria.world }}.wld" -autocreate 3 -port {{ terraria.bind.port }} -ip {{ terraria.bind.ip }}
|
2020-08-22 14:49:50 +00:00
|
|
|
Restart=on-failure
|
|
|
|
User=nobody
|
|
|
|
Group=nogroup
|
|
|
|
WorkingDirectory={{ terraria.paths.data }}
|
|
|
|
ProtectSystem=strict
|
|
|
|
BindPaths=-{{ terraria.paths.data }}
|
|
|
|
TemporaryFileSystem=/:rw
|
|
|
|
PrivateTmp=true
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|