Update for Minecraft

Using template from the PHP version of this site, from 2016/2017!

$ ls -Alh
-rw-r--r-- 1 chandler chandler 1.5K Jan  4  2017 index.php
This commit is contained in:
Chandler Swift 2023-09-29 19:59:46 -05:00
parent 8dd1b7b58d
commit f17074d22d
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F
7 changed files with 93 additions and 110 deletions

10
minecraft-site.service Normal file
View file

@ -0,0 +1,10 @@
[Unit]
Description=factorio-site
[Service]
ExecStart=/bin/sh -c "/opt/factorio-site/factorio-site --password=`cat /opt/factorio-rcon-password`"
WorkingDirectory=/opt/factorio-site
Restart=always
[Install]
WantedBy=multi-user.target