Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion testinfra/modules/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def exists(self):

@property
def is_running(self):
out = self.run_expect([0, 1, 3], "systemctl is-active %s", self.name)
out = self.run_expect([0, 1, 3, 4], "systemctl is-active %s", self.name)
if out.rc == 1:
# Failed to connect to bus: No such file or directory
return super().is_running
Expand Down