Jump to content
OpenRCT2
Sign in to follow this  
tricks

Bash Script Restart Server from last autosave

Recommended Posts

Trying to setup a dedicated server on Ubuntu Server.. In the middle of that now but I wonder if someone could share a bash script to restart the server on crash from last autosave?

Share this post


Link to post

Object conflict: '/usr/share/openrct2/object/rct2/ride/rct2.icecr1.json'
               : '/usr/share/openrct2/object/rct2/ride/rct2.icecr1.parkobj'
1 object conflicts found.
ERROR[/build/openrct2-bln5zB/openrct2-0.2.4-develop-0~842-202001221805/src/openrct2/network/Socket.cpp:260 (Listen)]: IPV6_V6ONLY failed. 92
Ready for clients...
WARNING[/build/openrct2-bln5zB/openrct2-0.2.4-develop-0~842-202001221805/src/openrct2/network/Socket.cpp:745 (CreateSocket)]: IPV6_V6ONLY failed. 92

That conflict appeared after a couple of restarts..
I don't support ipv6 atm (but i guess it can be ignored)

 

Edited by tricks

Share this post


Link to post

[twitch] api_url

is not clear for me in the config.ini

Do we need to get something from Twitch to make this functional and how does it work?

Share this post


Link to post

For auto-restarting itself you could use systemd (the systemctl command). I'm not sure how to load a previous autosave.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...