add some logging

This commit is contained in:
AAGaming
2025-07-01 15:02:27 -04:00
parent 7b8a18d02d
commit cf1b9d2884
2 changed files with 3 additions and 0 deletions
@@ -146,6 +146,8 @@ async def service_active(service_name : str) -> bool:
async def service_restart(service_name : str, block : bool = True) -> bool:
await run(["systemctl", "daemon-reload"])
logger.info("Systemd reload done.")
cmd = ["systemctl", "restart", service_name]
if not block:
+1
View File
@@ -240,6 +240,7 @@ class Updater:
await self.download_decky_binary(download_url, version, size_in_bytes=size_in_bytes)
async def do_restart(self):
logger.info("Restarting loader for update.")
await service_restart("plugin_loader", block=False)
async def do_shutdown(self):