mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
fix debian provisioning bug with systemd
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
@@ -45,7 +45,7 @@ func (provisioner *DebianProvisioner) Service(name string, action serviceaction.
|
||||
return err
|
||||
}
|
||||
|
||||
command := fmt.Sprintf("sudo systemctl %s %s", action.String(), name)
|
||||
command := fmt.Sprintf("sudo systemctl -f %s %s", action.String(), name)
|
||||
|
||||
if _, err := provisioner.SSHCommand(command); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user