Skip to content
Snippets Groups Projects
Commit 53e96d0b authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

fix(fail2ban): detect ms installation on ubicloud

parent d8cd9c29
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ def setup(interactive=True):
),
]
# if mediaserver is installed
if os.path.exists("/home/msuser/mstmp/mediaserver.log") or os.path.exists("/etc/mediaserver"):
if os.path.exists("/home/msuser/mstmp/mediaserver.log") or os.path.exists("/home/ubicasttv/mstmp/mediaserver.log"):
cmds.append(dict(
line='write',
template='%s/jail.d/mediaserver.conf' % dir_path,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment