Don't restart nitb dropping calls on config update
This commit is contained in:
parent
4809540e00
commit
e753ffb725
1 changed files with 6 additions and 1 deletions
|
@ -64,7 +64,7 @@ class rhizo_base::openbsc {
|
|||
file { '/etc/osmocom/osmo-nitb.cfg':
|
||||
content => template('rhizo_base/osmo-nitb.cfg.erb'),
|
||||
require => Package['osmocom-nitb'],
|
||||
notify => Exec['restart-nitb'],
|
||||
notify => Exec['notify-nitb'],
|
||||
}
|
||||
|
||||
exec { 'hlr_pragma_wal':
|
||||
|
@ -74,6 +74,11 @@ class rhizo_base::openbsc {
|
|||
refreshonly => true,
|
||||
}
|
||||
|
||||
exec { 'notify-nitb':
|
||||
command => '/bin/echo 1 > /tmp/OSMO-dirty',
|
||||
refreshonly => true,
|
||||
}
|
||||
|
||||
exec { 'restart-nitb':
|
||||
command => '/usr/bin/sv restart osmo-nitb',
|
||||
require => Class['rhizo_base::packages'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue