Skip to content
Snippets Groups Projects
Commit 184b12ad authored by Erick Hitter's avatar Erick Hitter
Browse files

Handle restarts after config updates

parent 53a7f954
No related branches found
No related tags found
1 merge request!1Initial release
Pipeline #197 passed with stage
in 3 minutes and 7 seconds
--- ---
# handlers file for eth-log-alerting - name: restart daemon
\ No newline at end of file service:
name: eth-log-alerting
state: restarted
...@@ -14,3 +14,4 @@ ...@@ -14,3 +14,4 @@
owner: root owner: root
group: root group: root
mode: 0400 mode: 0400
notify: restart daemon
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
- 'DAEMON="{{ eth_log_alerting_binary_dest }}"' - 'DAEMON="{{ eth_log_alerting_binary_dest }}"'
- 'DAEMON_ARGS="-config {{ eth_log_alerting_config_dest }}"' - 'DAEMON_ARGS="-config {{ eth_log_alerting_config_dest }}"'
- 'USER="root"' - 'USER="root"'
notify: restart daemon
- name: Ensure service is enabled and started - name: Ensure service is enabled and started
service: service:
......
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