services/siahsd: Fix startup after reboot
This commit is contained in:
parent
04288259ca
commit
2ebc9f54e6
3 changed files with 14 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue