mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
fixed unit naming
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user