<p>roh has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/14267">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">osmo-remsim-client: add systemd service script template and etc/default config<br><br>Change-Id: I243f3d8e090d49ca3a1d0a8cf568750b76273c03<br>---<br>A contrib/etc_default/osmo-remsim-client<br>A contrib/systemd/osmo-remsim-client_.service<br>2 files changed, 18 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/67/14267/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/etc_default/osmo-remsim-client b/contrib/etc_default/osmo-remsim-client</span><br><span>new file mode 100644</span><br><span>index 0000000..23621de</span><br><span>--- /dev/null</span><br><span>+++ b/contrib/etc_default/osmo-remsim-client</span><br><span>@@ -0,0 +1,5 @@</span><br><span style="color: hsl(120, 100%, 40%);">+# Default settings for osmo-remsim-client This file is sourced by systemd</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# (global) Options to pass to osmo-remsim-client</span><br><span style="color: hsl(120, 100%, 40%);">+CLIENT_OPTS="-s 10.9.99.10 -V 1d50 -P 4004 -C 1"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>diff --git a/contrib/systemd/osmo-remsim-client_.service b/contrib/systemd/osmo-remsim-client_.service</span><br><span>new file mode 100644</span><br><span>index 0000000..e7129c2</span><br><span>--- /dev/null</span><br><span>+++ b/contrib/systemd/osmo-remsim-client_.service</span><br><span>@@ -0,0 +1,13 @@</span><br><span style="color: hsl(120, 100%, 40%);">+[Unit]</span><br><span style="color: hsl(120, 100%, 40%);">+Description=Osmocom Remote SIM Client</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+[Service]</span><br><span style="color: hsl(120, 100%, 40%);">+Type=simple</span><br><span style="color: hsl(120, 100%, 40%);">+Restart=always</span><br><span style="color: hsl(120, 100%, 40%);">+EnvironmentFile=/etc/default/osmo-remsim-client</span><br><span style="color: hsl(120, 100%, 40%);">+ExecStart=/usr/bin/osmo-remsim-client-st2 $CLIENT_OPTS -I 0 -H 2-1.1 -c 0</span><br><span style="color: hsl(120, 100%, 40%);">+RestartSec=2</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+[Install]</span><br><span style="color: hsl(120, 100%, 40%);">+WantedBy=multi-user.target</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/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/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-MessageType: newchange </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>