| Summary: | Not possible to enable user-specified instance when unit has alias | ||
|---|---|---|---|
| Product: | systemd | Reporter: | Dave Reisner <d> |
| Component: | general | Assignee: | systemd-bugs |
| Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
| Severity: | normal | ||
| Priority: | medium | CC: | freedesktop, jsmith, kristian, zbyszek |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: | Remove alias, add WantedBy | ||
|
Description
Dave Reisner
2012-08-23 02:04:21 UTC
The Install section wants teh Alias removing and using WantedBy instead eg: [Unit] Description=dhcpcd on %I Wants=network.target Before=network.target BindsTo=sys-subsystem-net-devices-%i.device After=sys-subsystem-net-devices-%i.device [Service] Type=forking PIDFile=/run/dhcpcd-%I.pid ExecStart=/usr/sbin/dhcpcd -q -w %I ExecStop=/usr/sbin/dhcpcd -x %I [Install] WantedBy=multi-user.target Created attachment 71508 [details] [review] Remove alias, add WantedBy Proposed patch. Should be fixed in http://cgit.freedesktop.org/systemd/systemd/commit/?id=7584d23. |
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.