changed default systemd service user to 'root' to resolve permission issues
This commit is contained in:
parent
99c588ac13
commit
8d002e0d2e
1 changed files with 5 additions and 7 deletions
12
pbc.service
12
pbc.service
|
@ -1,17 +1,15 @@
|
|||
[Unit]
|
||||
Description=pbc (pedal board control)
|
||||
Requires=touchosc2midi.service
|
||||
After=modep-mod-ui.service touchosc2midi.service
|
||||
After=modep-mod-host.service modep-mod-ui.service modep-touchosc2midi.service
|
||||
Wants=modep-mod-host.service modep-mod-ui.service modep-touchosc2midi.service
|
||||
BindsTo=modep-mod-ui.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=node
|
||||
Group=node
|
||||
User=root
|
||||
Group=root
|
||||
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
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue