diff --git a/lib/configfiles/freebsd.inc.php b/lib/configfiles/freebsd.inc.php index 80ee0744..c936dc68 100644 --- a/lib/configfiles/freebsd.inc.php +++ b/lib/configfiles/freebsd.inc.php @@ -347,7 +347,7 @@ return array( 'echo "*/5 * * * * root nice -n 5 /usr/local/bin/php -q '.makeCorrectDir(dirname(dirname(dirname(__FILE__)))).'scripts/froxlor_master_cronjob.php" >> /etc/crontab' ), 'restart' => array( - '/etc/rc.d/cron restart' + Settings::Get('system.crondreload') ) ), 'awstats' => array( diff --git a/lib/configfiles/gentoo.inc.php b/lib/configfiles/gentoo.inc.php index 81f25f3f..b1224c4f 100644 --- a/lib/configfiles/gentoo.inc.php +++ b/lib/configfiles/gentoo.inc.php @@ -374,7 +374,6 @@ milter_default_action = accept" >> /etc/postfix/main.cf', 'cron' => array( 'label' => 'Crond (cronscript)', 'commands_1' => array( - 'emerge -av vixie-cron', 'touch /etc/cron.d/froxlor', 'chown root:0 /etc/cron.d/froxlor', 'chmod 0640 /etc/cron.d/froxlor' @@ -382,11 +381,8 @@ milter_default_action = accept" >> /etc/postfix/main.cf', 'files' => array( 'etc_cron.d_froxlor' => '/etc/cron.d/froxlor' ), - 'commands_2' => array( - 'rc-update add vixie-cron default' - ), 'restart' => array( - '/etc/init.d/vixie-cron restart' + Settings::Get('system.crondreload') ) ), 'awstats' => array( diff --git a/lib/configfiles/lucid.inc.php b/lib/configfiles/lucid.inc.php index 58f04c79..466be3a8 100644 --- a/lib/configfiles/lucid.inc.php +++ b/lib/configfiles/lucid.inc.php @@ -367,7 +367,7 @@ return array( 'etc_cron.d_froxlor' => '/etc/cron.d/froxlor' ), 'restart' => array( - '/etc/init.d/cron restart' + Settings::Get('system.crondreload') ) ), 'awstats' => array( diff --git a/lib/configfiles/precise.inc.php b/lib/configfiles/precise.inc.php index 18c27636..0387eeb9 100644 --- a/lib/configfiles/precise.inc.php +++ b/lib/configfiles/precise.inc.php @@ -369,7 +369,7 @@ return array( 'etc_cron.d_froxlor' => '/etc/cron.d/froxlor' ), 'restart' => array( - '/etc/init.d/cron restart' + Settings::Get('system.crondreload') ) ), 'awstats' => array( diff --git a/lib/configfiles/sle10.inc.php b/lib/configfiles/sle10.inc.php index e0dccefa..9a6d9fff 100644 --- a/lib/configfiles/sle10.inc.php +++ b/lib/configfiles/sle10.inc.php @@ -169,7 +169,7 @@ return array( 'etc_cron.d_froxlor' => '/etc/cron.d/froxlor' ), 'restart' => array( - '/etc/init.d/cron restart' + Settings::Get('system.crondreload') ) ), 'awstats' => array( diff --git a/lib/configfiles/squeeze.inc.php b/lib/configfiles/squeeze.inc.php index 4f4a68b3..cacaf9f0 100644 --- a/lib/configfiles/squeeze.inc.php +++ b/lib/configfiles/squeeze.inc.php @@ -366,7 +366,7 @@ return array( 'etc_cron.d_froxlor' => '/etc/cron.d/froxlor' ), 'restart' => array( - '/etc/init.d/cron restart' + Settings::Get('system.crondreload') ) ), 'awstats' => array( diff --git a/lib/configfiles/suse11.inc.php b/lib/configfiles/suse11.inc.php index 6f98a648..d82e3820 100644 --- a/lib/configfiles/suse11.inc.php +++ b/lib/configfiles/suse11.inc.php @@ -248,7 +248,7 @@ return array( 'etc_cron.d_froxlor' => '/etc/cron.d/froxlor' ), 'restart' => array( - '/etc/init.d/cron restart' + Settings::Get('system.crondreload') ) ), 'awstats' => array(