diff --git a/roles/music/handlers/main.yaml b/roles/music/handlers/main.yaml index 957ee6f..bf7fba3 100644 --- a/roles/music/handlers/main.yaml +++ b/roles/music/handlers/main.yaml @@ -17,7 +17,7 @@ daemon_reload: true - name: rebuild librespot - command: cargo build --release --features jackaudio-backend + command: /root/.cargo/bin/cargo build --release --features jackaudio-backend args: chdir: /opt/librespot diff --git a/roles/music/tasks/trollibox.yaml b/roles/music/tasks/trollibox.yaml index dd5a2a3..e278612 100644 --- a/roles/music/tasks/trollibox.yaml +++ b/roles/music/tasks/trollibox.yaml @@ -15,6 +15,7 @@ dest: /usr/local/bin include: [ trollibox ] mode: 0755 + notify: restart trollibox - name: Install service file template: