Add systemctl restart for bunkerweb in LinuxTest

This commit is contained in:
Théophile Diot 2024-12-30 11:16:23 +00:00
parent 611f4f64a7
commit 56f8d2a591
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -122,6 +122,9 @@ class LinuxTest(Test):
)
if proc.returncode != 0:
raise (Exception("docker exec append variables.env failed (test)"))
proc = self.docker_exec(self.__distro, "systemctl restart bunkerweb")
if proc.returncode != 0:
raise Exception("docker exec systemctl restart failed (linux stack)")
proc = self.docker_exec(self.__distro, "systemctl restart bunkerweb-scheduler")
if proc.returncode != 0:
raise Exception("docker exec systemctl restart failed (linux stack)")