Simple factorio Linux server for Ubuntu to run from single script.
It downloads latest factorio server or rebuilds from user provided setup. Then setups systemd for factorio and setups auto-update script to be run on timer.
console.sh
lets you attach to Factorio console.
Has option for ZRAM folder for Factorio to make autosaves faster (HDD) and less disruptive and also slow the wear of SSD. Then it backups the whole server on each update script run.
Rename config.example.sh
to config.sh
and adjust settings inside it.
Copy your factorio settings (preserving folder structure) into factorio
folder.
Then run ./install.sh [param]
deafult [param] = /opt/factorio
it also installs all dependencies, creates user and runs services.
After installation everything will work also on system restarts.
You can also download server manually or pack your current one into factorio.tar.xz
it will be copied before everything else.
Run ./console.sh
to access Factorio terminal. Exit quickly pressing ESC+ESC+ESC
.
- Add multiple servers support.
- Support other linux distributions.