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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

roh gerrit-no-reply at lists.osmocom.org
Tue May 28 16:27:56 UTC 2019


roh has uploaded this change for review. ( 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(-)



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

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: newchange
Gerrit-Change-Id: Iefa6e65c7a03b232a124758cf8890b660abf6885
Gerrit-Change-Number: 14228
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/20190528/2cd2e1e0/attachment.htm>


More information about the gerrit-log mailing list