Change in osmo-remsim[master]: osmo-remsim-client: add systemd service script template and etc/defau...

roh gerrit-no-reply at lists.osmocom.org
Wed May 29 18:17:34 UTC 2019


roh has uploaded this change for review. ( https://gerrit.osmocom.org/14267


Change subject: osmo-remsim-client: add systemd service script template and etc/default config
......................................................................

osmo-remsim-client: add systemd service script template and etc/default config

Change-Id: I243f3d8e090d49ca3a1d0a8cf568750b76273c03
---
A contrib/etc_default/osmo-remsim-client
A contrib/systemd/osmo-remsim-client_.service
2 files changed, 18 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/67/14267/1

diff --git a/contrib/etc_default/osmo-remsim-client b/contrib/etc_default/osmo-remsim-client
new file mode 100644
index 0000000..23621de
--- /dev/null
+++ b/contrib/etc_default/osmo-remsim-client
@@ -0,0 +1,5 @@
+# Default settings for osmo-remsim-client This file is sourced by systemd
+
+# (global) Options to pass to osmo-remsim-client
+CLIENT_OPTS="-s 10.9.99.10 -V 1d50 -P 4004 -C 1"
+
diff --git a/contrib/systemd/osmo-remsim-client_.service b/contrib/systemd/osmo-remsim-client_.service
new file mode 100644
index 0000000..e7129c2
--- /dev/null
+++ b/contrib/systemd/osmo-remsim-client_.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Osmocom Remote SIM Client
+
+[Service]
+Type=simple
+Restart=always
+EnvironmentFile=/etc/default/osmo-remsim-client
+ExecStart=/usr/bin/osmo-remsim-client-st2 $CLIENT_OPTS -I 0 -H 2-1.1 -c 0
+RestartSec=2
+
+[Install]
+WantedBy=multi-user.target
+

-- 
To view, visit https://gerrit.osmocom.org/14267
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I243f3d8e090d49ca3a1d0a8cf568750b76273c03
Gerrit-Change-Number: 14267
Gerrit-PatchSet: 1
Gerrit-Owner: roh <jsteiger at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190529/2b012cfb/attachment.html>


More information about the gerrit-log mailing list