Verified Commit 6db26f74 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 95e51df5
- name: reload debuginfod
service: name=debuginfod state=reloaded
- name: restart debuginfod
service: name=debuginfod state=restarted
......@@ -14,7 +14,7 @@
debuginfod_package_path: "{{ debuginfod_package_paths | join(' ') }}"
- 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