mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Propagate removal of 'active' to that piece of code that uses it
This commit is contained in:
parent
e578140172
commit
3b4ad59cd7
1 changed files with 1 additions and 1 deletions
|
@ -3140,7 +3140,7 @@ def _assert_system_is_sane_for_app(manifest, when):
|
|||
services.append("fail2ban")
|
||||
|
||||
# List services currently down and raise an exception if any are found
|
||||
faulty_services = [s for s in services if service_status(s)["active"] != "active"]
|
||||
faulty_services = [s for s in services if service_status(s)["status"] != "running"]
|
||||
if faulty_services:
|
||||
if when == "pre":
|
||||
raise YunohostError('app_action_cannot_be_ran_because_required_services_down',
|
||||
|
|
Loading…
Add table
Reference in a new issue