Am 06.09.24 um 11:04 schrieb Andrei Borzenkov: > You need to quote $ to pass it to the shell. > ExecStart = sh -c 'echo Res: $${VAR#abc-}' Yes, this works. However, I didn't find this anywhere in the systemd man pages. What I found was escaping using a backslash, but that didn't work.