minecraft-site/minecraft-site.service

11 lines
234 B
SYSTEMD
Raw Normal View History

2020-03-20 10:30:13 -05:00
[Unit]
Description=factorio-site
[Service]
2020-03-20 11:32:49 -05:00
ExecStart=/bin/sh -c "/opt/factorio-site/factorio-site --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