updated systemd service file

This commit is contained in:
Daniel Sommer 2022-03-25 13:55:50 +01:00
parent e3aa7cf67d
commit 99c588ac13

View file

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