[systemd-bugs] [Bug 53697] New: systemd ExecStart template

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 18 23:00:40 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=53697

             Bug #: 53697
           Summary: systemd ExecStart template
    Classification: Unclassified
           Product: systemd
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: systemd-bugs at lists.freedesktop.org
        ReportedBy: public.avatar at gmail.com
         QAContact: systemd-bugs at lists.freedesktop.org


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

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the systemd-bugs mailing list