<p><a href="https://gerrit.osmocom.org/c/osmo-remsim/+/14267">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/14267/1/contrib/systemd/osmo-remsim-client_.service">File contrib/systemd/osmo-remsim-client_.service:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14267/1/contrib/systemd/osmo-remsim-client_.service@8">Patch Set #1, Line 8:</a> <code style="font-family:monospace,monospace">2-1.1</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">yes - but this is a template to be copied n (number of modems) times and modified to fit the specifi […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">So if I understand correctly, you need to change several parameters per process instance launched and not only the "2-1.1" part, right?</p><p style="white-space: pre-wrap; word-wrap: break-word;">What about using: EnvironmentFile=/etc/default/osmo-remsim-client-%i<br>And then have /etc/default/osmo-remsim-client-{0..N} files, each defining env variables with different values?<br>For instance, /etc/default/osmo-remsim-client-0:<br>REMSIM_H="2-1.1"<br>REMSIM_C="0"</p><p style="white-space: pre-wrap; word-wrap: break-word;">and then in this sytemd template:<br>EnvironmentFile=/etc/default/osmo-remsim-client-%i<br>ExecStart=/usr/bin/osmo-remsim-client-st2 $CLIENT_OPTS -I 0 -H $REMSIM_H -c $REMSIM_C</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-remsim/+/14267">change 14267</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-remsim/+/14267"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-remsim </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I243f3d8e090d49ca3a1d0a8cf568750b76273c03 </div>
<div style="display:none"> Gerrit-Change-Number: 14267 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: roh <jsteiger@sysmocom.de> </div>
<div style="display:none"> Gerrit-Assignee: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: roh <jsteiger@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 11 Jun 2019 16:46:47 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: roh <jsteiger@sysmocom.de> </div>
<div style="display:none"> Comment-In-Reply-To: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>