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

Change-Id: Iefa6e65c7a03b232a124758cf8890b660abf6885
changes/28/14228/1
Joachim Steiger 4 years ago
parent 07e0db317e
commit 6d8ad47644
  1. 5
      contrib/etc_default/osmo-remsim-bankd
  2. 14
      contrib/systemd/osmo-remsim-bankd.service

@ -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"

@ -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
Loading…
Cancel
Save