Add restart-smpp

This commit is contained in:
Wile E. Coyote 2017-02-07 11:32:10 +00:00
parent 3383517457
commit 4d4a368bcf

View file

@ -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':