rhizo_base: Ensure runit installed before using runit
Make sure that runit is installed and configured before attempting to restart services using /usr/bin/sv (aka runit).
This commit is contained in:
parent
633c08fcf5
commit
439489b42b
2 changed files with 6 additions and 0 deletions
|
@ -19,6 +19,7 @@ class rhizo_base::lcr {
|
|||
|
||||
exec { 'restart-lcr':
|
||||
command => '/usr/bin/sv restart lcr',
|
||||
require => Class['rhizo_base::runit'],
|
||||
refreshonly => true,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue