updated systemd service file
This commit is contained in:
parent
e3aa7cf67d
commit
99c588ac13
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
[Unit]
|
||||
Description=pbc (pedal board control)
|
||||
Requires=touchosc2midi.service
|
||||
After=modep-mod-ui.service touchosc2midi.service
|
||||
BindsTo=modep-mod-ui.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
@ -7,6 +10,8 @@ User=node
|
|||
Group=node
|
||||
WorkingDirectory=/opt/pbc
|
||||
ExecStart=/opt/nvm/nvm-exec node pbc.js
|
||||
ExecStartPost=-/usr/bin/sleep 10
|
||||
ExecStartPost=-/usr/bin/oscsend localhost 12101 / m 000000b0
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue