From ed764129f09196458834c8f5d1d8df51f72875c1 Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 29 Nov 2023 16:36:24 +0000 Subject: [PATCH] add systemd serviece --- poke.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 poke.service diff --git a/poke.service b/poke.service new file mode 100644 index 00000000..72dd810e --- /dev/null +++ b/poke.service @@ -0,0 +1,14 @@ +[Unit] +Description=Poke + +[Service] +Type=simple +ExecStart=node server.js +WorkingDirectory=[YOUR DIR HERE] +Restart=on-failure + +[Install] +WantedBy=multi-user.target + + +