mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-11-02 19:28:10 +00:00
Solved path bug
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 ) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user