From 2b30557a141ae4e23351e60ca8c32a4fa07a8bde Mon Sep 17 00:00:00 2001 From: velvettear Date: Fri, 18 Mar 2022 16:07:13 +0100 Subject: [PATCH] added systemd-service file --- remex.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 remex.service diff --git a/remex.service b/remex.service new file mode 100644 index 0000000..71bdae5 --- /dev/null +++ b/remex.service @@ -0,0 +1,12 @@ +[Unit] +Description=remex + +[Service] +Type=simple +User=root +Group=root +WorkingDirectory=/opt/remex +ExecStart=/opt/nvm/nvm-exec node remex.js + +[Install] +WantedBy=multi-user.target \ No newline at end of file