Add systemd .service file
This commit is contained in:
parent
001ae9c9dd
commit
197cf43687
10
factorio-site.service
Normal file
10
factorio-site.service
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=factorio-site
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/opt/factorio-site/server
|
||||||
|
WorkingDirectory=/opt/factorio-site
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in a new issue