mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
fixed unit naming
This commit is contained in:
parent
87b4626fec
commit
0301b53d52
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user