Skip to content
Snippets Groups Projects
Commit 7ad41e55 authored by jurgenhaas's avatar jurgenhaas
Browse files

#36 Cleanup systemd settings for old installations

parent de55dc63
No related branches found
No related tags found
No related merge requests found
---
# file: roles/netdata/handlers/main.yml
- name: Include NetData to Boot-List
command: update-rc.d netdata defaults
- name: Restart NetData
service:
systemd:
name: netdata
state: restarted
enabled: yes
daemon_reload: yes
- name: Restart Apache
service:
systemd:
name: apache2
state: restarted
......@@ -34,6 +34,8 @@
- /etc/netdata
- /etc/init.d/netdata
- /etc/logrotate.d/netdata
- /etc/systemd/system/netdata.service
- /etc/systemd/system/netdata.service.d
when: netdata_force_reset
- name: Ensure Directory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment