Skip to content
Open
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 src/utils/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ def _port_is_used(self, port):
# This second command is mean to cover (most) case where an app is using a port yet ain't currently using it for some reason (typically service ain't up)
used_by_app = (
os.system(
f"grep --quiet --extended-regexp \"port: '?{port}'?\" /etc/yunohost/apps/*/settings.yml"
f"grep --quiet --extended-regexp \"port(_[^:]+)?: '?{port}'?\" /etc/yunohost/apps/*/settings.yml"
)
== 0
)
Expand Down