Change in osmo-remsim[master]: osmo-remsim-bankd: add systemd service script and etc/default config

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue May 28 21:05:36 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/14228 )

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

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

Change-Id: Iefa6e65c7a03b232a124758cf8890b660abf6885
---
A contrib/etc_default/osmo-remsim-bankd
A contrib/systemd/osmo-remsim-bankd.service
2 files changed, 19 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/contrib/etc_default/osmo-remsim-bankd b/contrib/etc_default/osmo-remsim-bankd
new file mode 100644
index 0000000..9f8a9a9
--- /dev/null
+++ b/contrib/etc_default/osmo-remsim-bankd
@@ -0,0 +1,5 @@
+# Default settings for osmo-remsim-bankd This file is sourced by systemd
+
+# Options to pass to osmo-remsim-bankd
+BANKD_OPTS="-i 10.9.99.1 -n 5"
+
diff --git a/contrib/systemd/osmo-remsim-bankd.service b/contrib/systemd/osmo-remsim-bankd.service
new file mode 100644
index 0000000..58f5435
--- /dev/null
+++ b/contrib/systemd/osmo-remsim-bankd.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Osmocom Remote SIM BankD
+
+[Service]
+Type=simple
+Restart=always
+EnvironmentFile=/etc/default/osmo-remsim-bankd
+WorkingDirectory=/etc/osmocom
+ExecStart=/usr/bin/osmo-remsim-bankd $BANKD_OPTS
+RestartSec=2
+
+[Install]
+WantedBy=multi-user.target
+

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

Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iefa6e65c7a03b232a124758cf8890b660abf6885
Gerrit-Change-Number: 14228
Gerrit-PatchSet: 1
Gerrit-Owner: roh <jsteiger at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190528/8a7464cc/attachment.html>


More information about the gerrit-log mailing list