mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-02 11:01:53 +08:00
fixed unit naming
This commit is contained in:
@@ -79,7 +79,7 @@ class ExtrasInfoSubmanager(BaseInfoSubmanager):
|
|||||||
extras["port"] = config
|
extras["port"] = config
|
||||||
|
|
||||||
def __is_daemon_enabled(self, name: str) -> bool:
|
def __is_daemon_enabled(self, name: str) -> bool:
|
||||||
if not name.startswith(".service"):
|
if not name.endswith(".service"):
|
||||||
name += ".service"
|
name += ".service"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user