music: Add systemd --user operations

This commit is contained in:
polyfloyd 2025-05-21 20:31:26 +02:00
parent aa32225eea
commit 681f25382a
3 changed files with 45 additions and 1 deletions

View file

@ -54,6 +54,18 @@
owner: root
group: root
mode: 0644
notify: restart bitvis
notify:
- restart filter-chain
- restart bitvis
- name: Enable filter-chain
become: true
become_user: "{{ music_audio_user }}"
become_method: machinectl
ansible.builtin.systemd:
name: filter-chain
state: started
enabled: true
scope: user
- meta: flush_handlers