Continue to run nitb from runit for the moment
Ensure both possible; osmo-nitb, osmocom-nitb systemd services are stopped and disabled.
This commit is contained in:
parent
29d0cd7eb6
commit
bae5ed99a5
2 changed files with 8 additions and 6 deletions
|
@ -54,11 +54,13 @@ class rhizo_base::openbsc {
|
||||||
|
|
||||||
service { 'osmocom-nitb':
|
service { 'osmocom-nitb':
|
||||||
enable => false,
|
enable => false,
|
||||||
|
ensure => 'stopped',
|
||||||
require => Package['osmocom-nitb'],
|
require => Package['osmocom-nitb'],
|
||||||
}
|
}
|
||||||
|
|
||||||
service { 'osmo-nitb':
|
service { 'osmo-nitb':
|
||||||
enable => false,
|
enable => false,
|
||||||
|
ensure => 'stopped',
|
||||||
require => Package['osmocom-nitb'],
|
require => Package['osmocom-nitb'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,12 +19,12 @@ class rhizo_base::runit {
|
||||||
require => Class['rhizo_base::packages'],
|
require => Class['rhizo_base::packages'],
|
||||||
}
|
}
|
||||||
|
|
||||||
# file { '/etc/service/osmo-nitb':
|
file { '/etc/service/osmo-nitb':
|
||||||
# ensure => link,
|
ensure => link,
|
||||||
# target => '/etc/sv/osmo-nitb',
|
target => '/etc/sv/osmo-nitb',
|
||||||
# require =>
|
require =>
|
||||||
# [ File['/etc/sv'], Class['rhizo_base::openbsc'] ],
|
[ File['/etc/sv'], Class['rhizo_base::openbsc'] ],
|
||||||
# }
|
}
|
||||||
|
|
||||||
if $operatingsystem != 'Debian' {
|
if $operatingsystem != 'Debian' {
|
||||||
file { '/etc/service/freeswitch':
|
file { '/etc/service/freeswitch':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue