Advertisement
grosi227

FactorioService

Nov 12th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.36 KB | None | 0 0
  1. [Unit]
  2. Description=Factorio Headless Server
  3. Wants=network-online.target After=network.target network-online.target
  4. [Service]
  5. Restart=always
  6. Type=simple
  7. User=factorio
  8. Group=factorio
  9. ExecStart=/opt/factorio/bin/x64/factorio --port 34197 --server-settings /opt/factorio/data/server-settings.json --start-server-load-latest
  10. [Install]
  11. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement