<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Singleton Template"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90505#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Singleton Template"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90505">bug 90505</a>
from <span class="vcard"><a class="email" href="mailto:contact@leesah.name" title="Sah Lee <contact@leesah.name>"> <span class="fn">Sah Lee</span></a>
</span></b>
<pre>Thanks for replying @Lennart .
I am using Systemd to maintain a set of network adaptation scripts, meaning,
for instance, to mount samba drives and switch to a certain proxy when I am in
office, and to switch to my own proxy (that can bypass the Great Firewall of
China) when I am in Starbucks, etc..
To group all the service units, I created a template: `network@.target`, and
have several instances such as `<a href="mailto:network@office.target">network@office.target</a>`, `<a href="mailto:network@home.target">network@home.target</a>`,
`<a href="mailto:network@starbucks.target">network@starbucks.target</a>`, `<a href="mailto:network@offline.target">network@offline.target</a>`, etc..
Now due to the nature of these targets, there should always be only one
instance that is active. But I can't find a way to define this exclusiveness.</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>