There are problems when using `--peer-to-peer` and NAT. By default Factorio has peer-to-peer turned off, but the .service has it turned on explicitly.
It might be a good idea to introduce FACTORIO_ARGS in conf.d and drop `--peer-to-peer` from the .service.
factorio-init does the same thing: https://github.com/Bisa/factorio-init/blob/master/factorio.service.example#L11
Search Criteria
Package Details: factorio-headless 2.0.43-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/factorio-headless.git (read-only, click to copy) |
---|---|
Package Base: | factorio-headless |
Description: | A 2D game about building and maintaining factories - Server version (stable branch) |
Upstream URL: | http://www.factorio.com/ |
Keywords: | game |
Licenses: | LicenseRef-Custom-Commercial |
Conflicts: | factorio, factorio-demo, factorio-experimental, factorio-headless-experimental |
Submitter: | duthils |
Maintainer: | mxmeinhold |
Last Packager: | mxmeinhold |
Votes: | 23 |
Popularity: | 0.58 |
First Submitted: | 2015-12-08 23:26 (UTC) |
Last Updated: | 2025-03-31 20:38 (UTC) |
Latest Comments
« First ‹ Previous 1 2 3 4
FrozenCow commented on 2016-03-21 18:25 (UTC) (edited on 2016-03-21 18:26 (UTC) by FrozenCow)
Honiix commented on 2016-03-20 11:13 (UTC)
Never seen the game crashs. Until then, having a mechanism that always load the last autosave seems useless.
Thanks for this package! :)
duthils commented on 2016-03-19 20:04 (UTC)
Done :)
The main thing to know is that the daemon will load the save in
/var/lib/factorio/.factorio/saves/factorio-service-save.zip
It creates an empty save upon installation, but you can replace it with your own save file. Also you may configure some options in /etc/conf.d/factorio.
I'd love some feedback!
Also, I heavily inspired from https://github.com/Bisa/factorio-init/, and they have a save-refreshing mechanism, basically loading the most recent save upon daemon restart. Do you think it would be useful? I suppose it is intended to load the autosaves, if the daemon crashes?
p4block commented on 2016-03-15 20:50 (UTC)
Is getting systemd service units within the scope of the package?
They would add great value to it.
duthils commented on 2016-03-12 01:26 (UTC)
You no longer need to manually download the archive, it's available here:
https://www.factorio.com/download-headless/stable
Pinned Comments
mickael9 commented on 2017-07-28 00:21 (UTC)