Simple script for run unreal tournament linux server

Discussions about Servers
Buggie
Godlike
Posts: 1762
Joined: Sat Mar 21, 2020 5:32 am

Simple script for run unreal tournament linux server

Post by Buggie » Wed Jun 15, 2022 11:00 am

# Simple script for run unreal tournament linux server
# required cron
# start automatically at server boot.
#
# Installation:
# 1. rename script to some unique name.
# 2. Put it in your UT directory.
# 3. Add it to your crontab, for run every minute.
#
# Possible commands:
# 1. Run without params - start server in current console. Press Ctrl+C few times for interrupt it.
# 2. stop - kill current instance of server and prevent start new for 24 hours.
# 3. start - allow run server. Canceled active stop command.
# 4. status - show current pid of script, which run server, if any.
#
# Configuration:
# Edit UT_SERVER variable located near file end.
#
# Log files stored in System folder of UT server and called as server.log and server_ucc.log.
#
# Script use replacement system on each restart UT server.
# All new files from folder Pending copied in UT folder.
# So if you need update file SuperMutator.u, which currently used by server,
# you need place updated version in Pending/System/ folder and restart server from game.
# via Nexgen Controller for example. Server restarted and new files will be copied before it run.
# Mutators like RebootOnNextMap allow do this unnoticeable for players, and even on server a lot players.

https://gist.github.com/SeriousBuggie/5 ... ee6e91c16a
Last edited by Buggie on Wed Jun 15, 2022 8:31 pm, edited 1 time in total.

User avatar
Barbie
Godlike
Posts: 2478
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Simple script for run unreal tournament linux server

Post by Barbie » Wed Jun 15, 2022 8:07 pm

Code: Select all

<iframe data-s9e-mediaembed="gist" ...
Does not work with a hardened browser.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

Buggie
Godlike
Posts: 1762
Joined: Sat Mar 21, 2020 5:32 am

Re: Simple script for run unreal tournament linux server

Post by Buggie » Wed Jun 15, 2022 8:32 pm

I post link. It is forum goes wild and try embed usual urls. Fixed now.

Buggie
Godlike
Posts: 1762
Joined: Sat Mar 21, 2020 5:32 am

Re: Simple script for run unreal tournament linux server

Post by Buggie » Wed Jul 06, 2022 8:18 pm

New version.

- fix not copy files from Pending dir.
- fix ability kill server instance.