Puppet Class: inspircd::cron
- Inherits:
- inspircd::params
- Defined in:
- manifests/cron.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'manifests/cron.pp', line 1
class inspircd::cron (
$prefix = $inspircd::params::prefix,
) inherits inspircd::params {
cron { 'inspircd start on boot':
ensure => present,
command => "${prefix}/inspircd start > /dev/null 2>&1",
user => $user,
special => 'reboot'
}
cron { 'inspircd ensure running':
ensure => present,
command => "${prefix}/inspircd cron > /dev/null 2>&1",
user => $user,
minute => '*/2'
}
}
|