Factorio Debian package and helper scripts - feedback welcome
github.com/factoriommo/factorio-multienv-ctlPosted Apr 25, 2017, 11:32 AM UTC
Posted Apr 25, 2017, 11:32 AM UTC
FYI: It's made under the FactorioMMO banner - we use it to run our servers :) Should work on Debian/Ubuntu or any other .deb based distro.
What's the motivation for a setup like this as opposed to something like rkt or Docker containers? That ought to provide provide better security if the Factorio server were to have exploits, and I don't think performance overheads would be significant. I'm curious if that's a route you've tried already.
I personally don't care much about Docker, and I'd like to avoid introducing such a big dependency for running what essentially is a single binary without dependencies.
Security can be taken care of in other ways as well (different users per instance, cgroups, apparmor, etc), and not to mention Docker has potential for its own security issues.
I mentioned rkt foremost because, among other things, it depends on the host init system instead of running a root daemon; if you dislike docker, you might find it a lot nicer.
Fair enough of course, if you're building for Factorio and Debian then containers are overkill. I'm a programmer so I lean by default towards more generic deployments, since you never know when you might want to, say, deploy to Ubuntu, or repurpose it for Terraria (a binary with runtime dependencies).
This package is aimed at everyone running or wanting to run a Factorio server on Debian 8+ or another apt based distro. Most of the core features come from factorio-init, which we forked.
We'd like some feedback about whether you guys appreciate this effort, and welcome suggestions on making it even better.
I'd like to stress this package does not contain upstream Factorio binaries, it downloads it at postinst time from the Factorio website.