ansible/roles/factorio/templates/service-template.service.j2

11 lines
280 B
Plaintext
Raw Normal View History

2020-12-21 21:19:47 -06:00
[Unit]
Description={{ description }}
[Service]
ExecStart={{ bin }} --start-server {{ save }} --port {{ service_port }} --server-settings {{ service_root }}/factorio/data/server-settings.json
User={{ service_user }}
Group={{ service_group }}
[Install]
WantedBy=multi-user.target