2009-09-29 19:53:04 +02:00
|
|
|
class sshd::openbsd inherits sshd::base {
|
|
|
|
Service[sshd]{
|
2013-05-20 20:43:51 +02:00
|
|
|
restart => '/bin/kill -HUP `/bin/cat /var/run/sshd.pid`',
|
|
|
|
stop => '/bin/kill `/bin/cat /var/run/sshd.pid`',
|
|
|
|
start => '/usr/sbin/sshd',
|
2013-05-29 23:46:37 +02:00
|
|
|
status => '/usr/bin/pgrep -f /usr/sbin/sshd',
|
2009-09-29 19:53:04 +02:00
|
|
|
}
|
|
|
|
}
|