pbc/pbc.service

17 lines
No EOL
395 B
Desktop File

[Unit]
Description=pbc (pedal board control)
Requires=touchosc2midi.service
After=modep-mod-ui.service touchosc2midi.service
BindsTo=modep-mod-ui.service
[Service]
Type=simple
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