diff options
-rwxr-xr-x | host-control | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/host-control b/host-control index 25de156..b4c1e9b 100755 --- a/host-control +++ b/host-control @@ -457,19 +457,21 @@ class host_control(): def system_daemon_status(self, host): command = [ "systemctl", "status" ] + self.host_call(host, command) def system_daemon_log(self, host): command = [ "journalctl", "-n", "50", "-fb" ] + self.host_call(host, command) def system_daemon_reload(self, host): - arguments = [ "systemctl", "daemon-reload" ] + command = [ "systemctl", "daemon-reload" ] self.host_call(host, command) def system_docker_status(self, host): - arguments = [ "docker", "ps" ] + command = [ "docker", "ps" ] self.host_call(host, command) |