Verified Commit 91303a9e authored by Evangelos Foutras's avatar Evangelos Foutras 🐱
Browse files

debuginfod: use restart handler instead of reload

Reloading is not supported by debuginfod.service. Also perform a daemon
reload when starting the debuginfod.service and packagelist.timer units.
parent d0d20764
---
- name: reload debuginfod
service: name=debuginfod state=reloaded
- name: restart debuginfod
service: name=debuginfod state=restarted
......@@ -14,7 +14,7 @@
vars:
debuginfod_package_path: "{{ debuginfod_package_paths | join(' ') }}"
notify:
- reload debuginfod
- restart debuginfod
- name: create http directory for debuginfod website files
file: path=/srv/http/debuginfod state=directory owner=root group=root mode=0755
......@@ -32,7 +32,7 @@
- packagelist.service
- name: start and enable packagelist.timer
service: name=packagelist.timer enabled=yes state=started
service: name=packagelist.timer enabled=yes daemon_reload=yes state=started
- name: make nginx log dir
file: path=/var/log/nginx/{{ debuginfod_domain }} state=directory owner=root group=root mode=0755
......@@ -51,4 +51,4 @@
- firewall
- name: start and enable debuginfod
service: name=debuginfod enabled=yes state=started
service: name=debuginfod enabled=yes daemon_reload=yes state=started
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment