Solved path bug

This commit is contained in:
2025-08-19 01:48:43 +02:00
parent 630fd43382
commit 2887e54cca
2 changed files with 4 additions and 2 deletions

View File

@@ -4,4 +4,4 @@ OnFailure={{ SYS_SERVICE_ON_FAILURE_COMPOSE }}
[Service]
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 ) }}