fixed unit naming

This commit is contained in:
Devaev Maxim 2020-08-23 17:21:26 +03:00
parent 87b4626fec
commit 0301b53d52

View File

@ -79,7 +79,7 @@ class ExtrasInfoSubmanager(BaseInfoSubmanager):
extras["port"] = config
def __is_daemon_enabled(self, name: str) -> bool:
if not name.startswith(".service"):
if not name.endswith(".service"):
name += ".service"
try: