osmo-remsim-bankd: add systemd service script and etc/default config
Change-Id: Iefa6e65c7a03b232a124758cf8890b660abf6885
This commit is contained in:
parent
07e0db317e
commit
6d8ad47644
|
@ -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…
Reference in New Issue