[Unit] Description=Terraria server After=network.target [Service] ExecStart=/bin/mono /opt/terraria/TerrariaServer.exe -world "Worlds/{{ terraria.world }}.wld" -autocreate 3 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