From df690b3e6408d8f127277b0197b11250ee3f6265 Mon Sep 17 00:00:00 2001 From: velvettear Date: Thu, 24 Feb 2022 23:29:55 +0100 Subject: [PATCH] added systemd-service file --- pbc.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pbc.service diff --git a/pbc.service b/pbc.service new file mode 100644 index 0000000..226dd90 --- /dev/null +++ b/pbc.service @@ -0,0 +1,12 @@ +[Unit] +Description=pbc (pedal board control) + +[Service] +Type=simple +User=node +Group=node +WorkingDirectory=/opt/pbc +ExecStart=/opt/nvm/nvm-exec node pbc.js + +[Install] +WantedBy=multi-user.target \ No newline at end of file