Add restart-smpp
This commit is contained in:
parent
3383517457
commit
4d4a368bcf
1 changed files with 7 additions and 1 deletions
|
@ -213,7 +213,8 @@ class rhizo_base {
|
||||||
require => [ File['/var/rhizomatica'], Package['git'] ],
|
require => [ File['/var/rhizomatica'], Package['git'] ],
|
||||||
notify => [ Exec['locale-gen'],
|
notify => [ Exec['locale-gen'],
|
||||||
Exec['notify-freeswitch'],
|
Exec['notify-freeswitch'],
|
||||||
Exec['restart-rapi'] ],
|
Exec['restart-rapi'],
|
||||||
|
Exec['restart-smpp'] ],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/var/rhizomatica/bin/get_account_balance.sh':
|
file { '/var/rhizomatica/bin/get_account_balance.sh':
|
||||||
|
@ -279,6 +280,11 @@ class rhizo_base {
|
||||||
command => '/usr/bin/sv restart rapi',
|
command => '/usr/bin/sv restart rapi',
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exec { 'restart-smpp':
|
||||||
|
command => '/usr/bin/sv restart smpp',
|
||||||
|
refreshonly => true,
|
||||||
|
}
|
||||||
|
|
||||||
if $operatingsystem == 'Ubuntu' {
|
if $operatingsystem == 'Ubuntu' {
|
||||||
file { '/var/lib/locales/supported.d/local':
|
file { '/var/lib/locales/supported.d/local':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue