pbc/pbc.service

17 lines
395 B
SYSTEMD
Raw Normal View History

2022-02-24 23:29:55 +01:00
[Unit]
Description=pbc (pedal board control)
2022-03-25 13:55:50 +01:00
Requires=touchosc2midi.service
After=modep-mod-ui.service touchosc2midi.service
BindsTo=modep-mod-ui.service
2022-02-24 23:29:55 +01:00
[Service]
Type=simple
User=node
Group=node
WorkingDirectory=/opt/pbc
ExecStart=/opt/nvm/nvm-exec node pbc.js
2022-03-25 13:55:50 +01:00
ExecStartPost=-/usr/bin/sleep 10
ExecStartPost=-/usr/bin/oscsend localhost 12101 / m 000000b0
2022-02-24 23:29:55 +01:00
[Install]
WantedBy=multi-user.target