summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/decky_loader/localplatform/localplatformlinux.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/decky_loader/localplatform/localplatformlinux.py b/backend/decky_loader/localplatform/localplatformlinux.py
index 7af2b96e..e3874b41 100644
--- a/backend/decky_loader/localplatform/localplatformlinux.py
+++ b/backend/decky_loader/localplatform/localplatformlinux.py
@@ -147,13 +147,13 @@ 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:
cmd.append("--no-block")
- res, _, _ = await run(cmd, stdout=PIPE, stderr=STDOUT)
+ res, _, _ = await run(cmd)
return res.returncode == 0
async def service_stop(service_name : str) -> bool: