Skip to content

Commit cf1b9d2

Browse files
committed
add some logging
1 parent 7b8a18d commit cf1b9d2

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

backend/decky_loader/localplatform/localplatformlinux.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ async def service_active(service_name : str) -> bool:
146146

147147
async def service_restart(service_name : str, block : bool = True) -> bool:
148148
await run(["systemctl", "daemon-reload"])
149+
logger.info("Systemd reload done.")
150+
149151
cmd = ["systemctl", "restart", service_name]
150152

151153
if not block:

backend/decky_loader/updater.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ async def do_update(self):
240240
await self.download_decky_binary(download_url, version, size_in_bytes=size_in_bytes)
241241

242242
async def do_restart(self):
243+
logger.info("Restarting loader for update.")
243244
await service_restart("plugin_loader", block=False)
244245

245246
async def do_shutdown(self):

0 commit comments

Comments
 (0)