Commit 90be51c0 authored by drumm's avatar drumm Committed by Neil Drumm

Properly sync apache

parent 6d382701
......@@ -85,7 +85,15 @@ class provisionService_http_apache extends provisionService_http {
}
class provisionConfig_apache extends provisionConfig {
function write() {
parent::write();
$this->owner->service('http')->sync($this->filename());
}
function unlink() {
parent::unlink();
$this->owner->service('http')->sync($this->filename());
}
}
/**
......
......@@ -113,14 +113,12 @@ class provisionConfig {
->succeed('Change group ownership of @path to @gid')
->fail('Could not change group ownership of @path to @gid');
}
$this->owner->sync($filename);
}
}
}
function unlink() {
provision_file()->unlink($this->filename())->status();
$this->owner->sync($this->filename());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment