added systemd-service file
This commit is contained in:
parent
7e0dd27b78
commit
df690b3e64
1 changed files with 12 additions and 0 deletions
12
pbc.service
Normal file
12
pbc.service
Normal 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
|
Loading…
Reference in a new issue