Cobra Forum

Linux Specialised Support => Wine => Topic started by: kalpana on Oct 28, 2023, 05:43 AM

Title: Wine script
Post by: kalpana on Oct 28, 2023, 05:43 AM
Hi,

I would like to make a script for a dedicatedServer for FarmingSimulator 19
atm i need todo several steps to start the server and I want to do this with an automated Script

Steps I do

open new tmux session
add a split screen (left/right)
on the right side i su and set
Code:
ip link set lo down

on the left side I Start the server via
Code:
wine .wine/drive_c/FS19/dedicatedServer.exe
on the right side i set
Code:
ip link set lo up
and then i detach the session

Problem is every some hours (around 16-72hrs) the webservice is not anymore respondable then I had to kill the wine process and start again.
I have the lxc container running on a proxmox server, and I would like to only restart the server to get it back running.

The gameserver is working in the background without any issues only the webserver from GIANTS is off.

Hope someone can help me.

would be nice if someone can help me build a sysctl with this information.

Regards Alex