openssh: add monit integration
This commit is contained in:
parent
d5195f3355
commit
d317ef17d0
1 changed files with 16 additions and 0 deletions
|
@ -1,5 +1,21 @@
|
|||
from bundlewrap.metadata import atomic
|
||||
|
||||
defaults = {
|
||||
'monit': {
|
||||
'services': {
|
||||
'openssh': {
|
||||
'bin': '/usr/sbin/sshd',
|
||||
'systemd_unit': 'sshd',
|
||||
'ports': {
|
||||
'22': {
|
||||
'protocol': 'ssh',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@metadata_reactor.provides(
|
||||
'firewall/port_rules/22',
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue