Create smo.service

This commit is contained in:
raym55 2022-06-24 20:53:21 +01:00
parent 67449ffa54
commit 05606501af
1 changed files with 17 additions and 0 deletions

17
smo.service Normal file
View File

@ -0,0 +1,17 @@
[Unit]
Description="Super Mario Odyssey Multiplayer Server"
After=network.target
StartLimitIntervalSec=0
[Service]
# Uncommnt User to run under a different user
# User=user
# change ExecStart to the path of the server file
ExecStart="/home/user/SMOServer/Server"
# ensure the service restarts after crashing
Restart=always
# amount of time to wait before restarting the service
RestartSec=5
[Install]
WantedBy=multi-user.target