chore: Remove unnecessary call to systemctl daemon-reload

This commit is contained in:
jeanluc
2023-04-11 09:53:01 +02:00
parent 1af36c6f21
commit aef13dc7d7

View File

@@ -151,13 +151,6 @@ Gitea service unit is available:
- context: {{ {"gitea": gitea} | json }}
- require:
- Gitea binary is installed
{%- if 'systemctl' | which %}
# this executes systemctl daemon-reload
module.run:
- service.systemctl_reload: []
- onchanges:
- file: {{ gitea.lookup.service.unit.format(name=gitea.lookup.service.name) }}
{%- endif %}
Gitea setup is finished:
test.show_notification: