<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Not possible to enable user-specified instance when unit has alias"
href="https://bugs.freedesktop.org/show_bug.cgi?id=53954#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Not possible to enable user-specified instance when unit has alias"
href="https://bugs.freedesktop.org/show_bug.cgi?id=53954">bug 53954</a>
from <span class="vcard"><a class="email" href="mailto:jsmith@linux.com" title="jsmith@linux.com">jsmith@linux.com</a>
</span></b>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>