Add bsc overrride for local/bin
This commit is contained in:
parent
82dde679e8
commit
7f0add2a59
2 changed files with 12 additions and 1 deletions
|
@ -183,7 +183,14 @@ class rhizo_base::osmocom::common {
|
||||||
require => Package['osmo-sgsn'],
|
require => Package['osmo-sgsn'],
|
||||||
}
|
}
|
||||||
|
|
||||||
systemd::dropin_file { 'override.conf':
|
systemd::dropin_file { 'bsc_override':
|
||||||
|
filename => 'override.conf',
|
||||||
|
unit => 'osmo-bsc.service',
|
||||||
|
content => template('rhizo_base/osmo-bsc.override.erb')
|
||||||
|
}
|
||||||
|
|
||||||
|
systemd::dropin_file { 'msc_override':
|
||||||
|
filename => 'override.conf',
|
||||||
unit => 'osmo-msc.service',
|
unit => 'osmo-msc.service',
|
||||||
content => template('rhizo_base/osmo-msc.override.erb')
|
content => template('rhizo_base/osmo-msc.override.erb')
|
||||||
}
|
}
|
||||||
|
|
4
modules/rhizo_base/templates/osmo-bsc.override.erb
Normal file
4
modules/rhizo_base/templates/osmo-bsc.override.erb
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[Service]
|
||||||
|
WorkingDirectory=/var/lib/osmocom
|
||||||
|
ExecStart=
|
||||||
|
ExecStart=/usr/<% if @osmo_local_bin.include? 'osmo-bsc' -%>local/<% end -%>bin/osmo-bsc -c /etc/osmocom/osmo-bsc.cfg -s
|
Loading…
Add table
Add a link
Reference in a new issue