Split stack: Initial commit install/configure

This commit installs the osmo stack daemons and configuration
if the hiera parameter rhizo::osmo_stack is 'split'

Setting this param won't break anything for a nitb based install,
but it will disable running the nitb and run osmo-bsc instead.
This commit is contained in:
Keith Whyte 2020-08-28 17:07:31 +02:00
parent e6e7ff6afe
commit f6395068c8
11 changed files with 598 additions and 1 deletions

View file

@ -0,0 +1,11 @@
[Unit]
Description=Osmocom Media Gateway for MSC (MGW)
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/osmo-mgw -s -c /etc/osmocom/osmo-mgw2.cfg
RestartSec=2
[Install]
WantedBy=multi-user.target

View file

@ -0,0 +1,15 @@
[Unit]
Description=Osmocom Mobile Switching Center (MSC)
Wants=osmo-hlr.service
Wants=osmo-mgw.service
After=osmo-hlr.service
After=osmo-hnbgw.service
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/osmo-msc -c /etc/osmocom/osmo-msc.cfg -l /var/lib/osmocom/sms.db
RestartSec=2
[Install]
WantedBy=multi-user.target