added systemd-service file

This commit is contained in:
Daniel Sommer 2022-02-24 23:29:55 +01:00
parent 7e0dd27b78
commit df690b3e64

12
pbc.service Normal file
View file

@ -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