use reload-commands from settings
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user