Add systemd .service file
This commit is contained in:
parent
001ae9c9dd
commit
197cf43687
1 changed files with 10 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue