Skip to content

Commit

Permalink
Removed restart #48
Browse files Browse the repository at this point in the history
Webserver(s) will be restarted when config files are rewrited.
  • Loading branch information
Petertjuh360 authored and Petertjuh360 committed Jan 10, 2016
1 parent 937a108 commit ba896c6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/cron.php
Expand Up @@ -99,10 +99,8 @@
}
}

// Rewrite and restart HTTPD files
// Rewrite HTTPD files
$queue = 'action=rewrite&value=httpd' . PHP_EOL;
$queue .= 'action=httpd&value=graceful' . PHP_EOL;

This comment has been minimized.

Copy link
@Wouter0100

Wouter0100 Jan 11, 2016

Collaborator

Why did you remove this enter?

This comment has been minimized.

Copy link
@zenire

zenire Jan 11, 2016

Owner

Mistake, sorry.

file_put_contents('/usr/local/directadmin/data/task.queue', $queue, FILE_APPEND);

$log->log('Added rewrite and reload to Task.queue');
Expand Down

0 comments on commit ba896c6

Please sign in to comment.