services/siahsd: Fix startup after reboot

This commit is contained in:
polyfloyd 2022-12-21 19:18:02 +01:00
parent 04288259ca
commit 2ebc9f54e6
3 changed files with 14 additions and 4 deletions

View file

@ -3,13 +3,22 @@
- name: Create directories
file:
path: /var/log/siahsd
path: "{{ item }}"
state: directory
owner: siahsd
group: nogroup
with_items:
- /var/log/siahsd
- /var/run/siahsd
- /var/lib/siahsd
- name: Install config file
template:
src: siahsd.conf
dest: /etc/siahsd.conf
owner: root
group: root
mode: 0644
notify: restart siahsd
- name: Install service file
template: