Solved path bug

This commit is contained in:
Kevin Veen-Birkenbach 2025-08-19 01:48:43 +02:00
parent 630fd43382
commit 2887e54cca
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
2 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,9 @@
- name: refresh systemctl service when SYS_SERVICE_ALL_ENABLED - name: refresh systemctl service when SYS_SERVICE_ALL_ENABLED
command: /bin/true command: /bin/true
notify: "refresh systemctl service" notify:
- reload system daemon
- refresh systemctl service
when: when:
- SYS_SERVICE_ALL_ENABLED | bool - SYS_SERVICE_ALL_ENABLED | bool
- not systemctl_uses_at - not systemctl_uses_at

View File

@ -4,4 +4,4 @@ OnFailure={{ SYS_SERVICE_ON_FAILURE_COMPOSE }}
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=/bin/bash {{ systemctl_id | get_service_script_path( service_src | filetype ) }} ExecStart=/bin/bash {{ systemctl_id | get_service_script_path( service_src | basename | regex_replace('\\.j2$', '') | filetype ) }}