minecraft-site/factorio-site.service

11 lines
228 B
SYSTEMD
Raw Normal View History

2020-03-20 10:30:13 -05:00
[Unit]
Description=factorio-site
[Service]
2020-03-20 11:20:38 -05:00
ExecStart=/bin/sh -c "/opt/factorio-site/serverm --password=`cat /opt/factorio-rcon-password`"
2020-03-20 10:30:13 -05:00
WorkingDirectory=/opt/factorio-site
Restart=always
[Install]
WantedBy=multi-user.target