Bug 53697

Summary: systemd ExecStart template
Product: systemd Reporter: Oleksii Shevchuk <public.avatar>
Component: generalAssignee: systemd-bugs
Status: RESOLVED DUPLICATE QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Oleksii Shevchuk 2012-08-19 06:00:40 UTC
As documentation says: 
...
The command line accepts % specifiers as described in systemd.unit(5).

> systemd --test --user --unit=weather-cache-refresh.service 
[/home/avatar/.config/systemd/user/weather-cache-refresh.service:6] Invalid executable path in command line, ignoring: %h/scripts/cache-weather
weather-cache-refresh.service lacks ExecStart setting. Refusing.

 > sed -ne '6 p' /home/avatar/.config/systemd/user/weather-cache-refresh.service
ExecStart=%h/scripts/cache-weather
Comment 1 Lennart Poettering 2012-09-13 18:04:18 UTC

*** This bug has been marked as a duplicate of bug 35387 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.