Update
This commit is contained in:
parent
dac3db10c8
commit
eadd5f5b07
24 changed files with 108 additions and 193 deletions
|
|
@ -140,8 +140,7 @@ impl<'a, C> Symbol for NginxServer<'a, C> where C: Deref<Target=str> {
|
|||
|
||||
fn execute(&self) -> Result<(), Box<Error>> {
|
||||
try!(self.file.execute());
|
||||
try!(self.command_runner.run_with_args("systemctl", &["reload-or-restart", "nginx"]));
|
||||
Ok(())
|
||||
self.command_runner.run_successfully("systemctl", &["reload-or-restart", "nginx"])
|
||||
}
|
||||
|
||||
fn get_prerequisites(&self) -> Vec<Resource> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue