Skip to content
Snippets Groups Projects
Unverified Commit 99b48639 authored by Karsten Kosmala's avatar Karsten Kosmala Committed by GitHub
Browse files

fix(units): start `path` units as well as `service` units

parent 9034daed
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ systemd_systemd_units_cmd_enable_or_disable_{{ unit }}_{{ unittype }}:
- watch:
- cmd: reload_systemd_configuration
{% if unittype == 'service' %}
{% if (unittype == 'service' or unittype == 'path') %}
{% set activation_status = unitconfig.status if unitconfig.status is defined and unitconfig.status == 'start' else 'stop' %}
systemd_systemd_units_activate_or_deactivate_{{ unit }}_{{ unittype }}:
cmd.wait:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment