From 4d4a368bcf34a07eead2e18065d2c874187ce035 Mon Sep 17 00:00:00 2001 From: "Wile E. Coyote" Date: Tue, 7 Feb 2017 11:32:10 +0000 Subject: [PATCH] Add restart-smpp --- modules/rhizo_base/manifests/init.pp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/rhizo_base/manifests/init.pp b/modules/rhizo_base/manifests/init.pp index bf1fa7e..8248e41 100644 --- a/modules/rhizo_base/manifests/init.pp +++ b/modules/rhizo_base/manifests/init.pp @@ -213,7 +213,8 @@ class rhizo_base { require => [ File['/var/rhizomatica'], Package['git'] ], notify => [ Exec['locale-gen'], Exec['notify-freeswitch'], - Exec['restart-rapi'] ], + Exec['restart-rapi'], + Exec['restart-smpp'] ], } file { '/var/rhizomatica/bin/get_account_balance.sh': @@ -279,6 +280,11 @@ class rhizo_base { command => '/usr/bin/sv restart rapi', refreshonly => true, } + + exec { 'restart-smpp': + command => '/usr/bin/sv restart smpp', + refreshonly => true, + } if $operatingsystem == 'Ubuntu' { file { '/var/lib/locales/supported.d/local':