0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-14 23:55:07 +00:00
SmoOnlineServer/smo.service
Piplup aec13bb4a6
Added a simple systemd service (#5)
Co-authored-by: Sanae <32604996+Sanae6@users.noreply.github.com>
2022-07-01 12:10:15 -06:00

19 lines
524 B
Desktop File

[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"
# change WorkingDirectory to the folder of your server
WorkingDirectory=/home/user/SMOServer/
# ensure the service restarts after crashing
Restart=always
# amount of time to wait before restarting the service
RestartSec=5
[Install]
WantedBy=multi-user.target