OP#436 add user access

This commit is contained in:
2026-02-14 21:43:49 +01:00
parent f6a966a805
commit 2c4ac00535
2 changed files with 4 additions and 4 deletions

View File

@@ -9,8 +9,8 @@ class confdroid_nagios::server::service (
require confdroid_nagios::server::files
if $ng_nagios_server == $fqdn {
require confdroid_nagios::server::access_rules
exec { 'reload_httpd':
command => 'systemctl reload httpd',
exec { 'restart_httpd':
command => 'systemctl restart httpd',
path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
refreshonly => true,
}
@@ -21,7 +21,7 @@ class confdroid_nagios::server::service (
enable => true,
hasrestart => true,
hasstatus => true,
require => Exec['reload_httpd'],
require => Exec['restart_httpd'],
}
}
}