-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update accServer.exe from UI #96
Comments
I'll consider this for 2.0 :) |
I believe "steamcmd" would be the answer for this. |
I'm just going to leave a comment here for those running servers on linux. You can install steamcmd from the repos (It's in Ubuntu 20.04 at least) and here is the script I call for updating the game file. It's almost the same as above but some slight differences to force the download of the windows accserver files. Where XXXXX is your steam account name.
|
Here's my way of dealing with this on Linux. I've put the following lines:
..into update_acc.sh and made it executable with:
Since this involves stopping the systemd service which is starting accweb on my server, it needs to be ran as root, which I do via a cron job. To create a cron job:
..as root, and paste the following line:
You may also omit "> /dev/null 2>&1" if you wish the output from the script to be logged. This will result in cron running the update_acc.sh script every day at 5:30 AM, keeping the Steam login token fresh, along with the ACC Dedicated Server install. :) Depending on which system deamon you're using, you may have to adjust how to stop and start the accweb service, along with the path to steamcmd.sh. This can also be combined with the log cleanup trickery I posted as a response to another thread for maximum hands-off maintenance. If anything is unclear, I'll gladly help with cleaning up the instructions or answer any questions. |
Oh, also, if you're an endurance event organizer running events through out the night - this solution is obviously a pretty bad idea! You can easily disable the cron job by putting a # in front of the line to disable it temporarily. :) |
Hi,
I wonder if that would be possible, since I have the web-interface accessible over the internet for our Admin-Team, but they are pretty helpless when I am not home to replace the accServer.exe on the actual server. Since RDP/VNC is a security threat, I would really love to be able to upload and update the accServer.exe over the webinterface.
I hope that is possible and would love to see this great tool get even better!
The text was updated successfully, but these errors were encountered: