From 8082c228c5d618e6f865f76b4d0518c2fde573ec Mon Sep 17 00:00:00 2001 From: fusion32 Date: Fri, 15 Aug 2025 15:48:19 -0300 Subject: wrapping up for a public release --- tibia-game.service | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tibia-game.service (limited to 'tibia-game.service') diff --git a/tibia-game.service b/tibia-game.service new file mode 100644 index 0000000..e158b21 --- /dev/null +++ b/tibia-game.service @@ -0,0 +1,26 @@ +# Basic SYSTEMD service file for the Tibia Game Server + +[Unit] +Description=Tibia Game Server +After=network.target +Requires=tibia-querymanager.service + +[Install] +WantedBy=multi-user.target + +[Service] +Type=simple +User=tibia-game +Group=tibia-game +ExecStart=/opt/tibia/game/bin/game +WorkingDirectory=/opt/tibia/game +Restart=always +RestartSec=10 +# After a SIGTERM, the server will issue shutdown warnings for 5 minutes and +# take another minute or two to save everything and exit. Not waiting for this +# process to complete would cause data to not be properly saved. +TimeoutStopSec=600 +LimitCORE=infinity +StandardOutput=journal +StandardError=journal +SyslogIdentifier=%n -- cgit v1.2.3