Skip to content

Instantly share code, notes, and snippets.

@beucismis
Last active February 25, 2025 20:50
Show Gist options
  • Select an option

  • Save beucismis/0bdf26f5bd29cfb49a61368c0b1eee1c to your computer and use it in GitHub Desktop.

Select an option

Save beucismis/0bdf26f5bd29cfb49a61368c0b1eee1c to your computer and use it in GitHub Desktop.
Factorio Server Manager Systemd Service File
[Unit]
Description=A tool to help manage Factorio multiplayer servers including mods and save games.
After=network.target
Wants=network-online.target
[Service]
Restart=always
Type=simple
WorkingDirectory=/home/user/factorio-server-manager
ExecStart=/home/user/factorio-server-manager/factorio-server-manager --dir /home/user/.steam/steam/steamapps/common/Factorio --port 3131
[Install]
WantedBy=multi-user.target
@beucismis
Copy link
Author

beucismis commented Feb 25, 2025

How to install:

cp -v factorio-server-manager.service /etc/systemd/system
systemctl enable factorio-server-manager.service
systemctl start factorio-server-manager.service

Check the service started:

systemctl status factorio-server-manager.service

Inscept the logs:

journalctl -f -u factorio-server-manager.service

How to remove:

systemctl stop factorio-server-manager.service
systemctl disable factorio-server-manager.service
systemctl daemon-reload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment