From 197cf436871a9d78b3f8bf127f1991efff9bad05 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Fri, 20 Mar 2020 10:30:13 -0500 Subject: [PATCH] Add systemd .service file --- factorio-site.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 factorio-site.service diff --git a/factorio-site.service b/factorio-site.service new file mode 100644 index 0000000..735250c --- /dev/null +++ b/factorio-site.service @@ -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