Commit 7ad41e55 authored by Jürgen Haas's avatar Jürgen Haas
Browse files

#36 Cleanup systemd settings for old installations

parent de55dc63
---
# 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
......
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