use reload-commands from settings

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2014-05-24 09:12:02 +02:00
parent acbaedb44f
commit 48f288789f
7 changed files with 7 additions and 11 deletions

View File

@@ -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(

View File

@@ -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(

View File

@@ -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(

View File

@@ -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(

View File

@@ -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(

View File

@@ -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(

View File

@@ -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(