Remove Kannel
This commit is contained in:
parent
666ac63aee
commit
e43baf47d5
2 changed files with 3 additions and 8 deletions
|
@ -18,17 +18,17 @@ class kannel (
|
||||||
) {
|
) {
|
||||||
|
|
||||||
package { 'kannel':
|
package { 'kannel':
|
||||||
ensure => present,
|
ensure => purged,
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/kannel/kannel.conf':
|
file { '/etc/kannel/kannel.conf':
|
||||||
ensure => present,
|
ensure => absent,
|
||||||
content => template('kannel/kannel.conf.erb'),
|
content => template('kannel/kannel.conf.erb'),
|
||||||
require => Package['kannel'],
|
require => Package['kannel'],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/default/kannel':
|
file { '/etc/default/kannel':
|
||||||
ensure => present,
|
ensure => absent,
|
||||||
source => ['puppet:///modules/kannel/kannel-default'],
|
source => ['puppet:///modules/kannel/kannel-default'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
ulimit -c unlimited
|
ulimit -c unlimited
|
||||||
/etc/init.d/kannel stop
|
|
||||||
sleep 10
|
|
||||||
#/usr/bin/killall -9 run_kannel_box bearerbox smsbox
|
|
||||||
ps aux|grep kannel
|
|
||||||
/etc/init.d/kannel start
|
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
exec chrt 10 /usr/bin/osmo-nitb -C -P -m -c /etc/osmocom/osmo-nitb.cfg -l /var/lib/osmocom/hlr.sqlite3
|
exec chrt 10 /usr/bin/osmo-nitb -C -P -m -c /etc/osmocom/osmo-nitb.cfg -l /var/lib/osmocom/hlr.sqlite3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue