From 4a3c6076912ea9094012a9ba00ad9dcb092c9c5d Mon Sep 17 00:00:00 2001 From: devdatt Date: Sat, 6 Dec 2025 20:31:59 +0530 Subject: [PATCH] input update --- encoder/static.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/encoder/static.php b/encoder/static.php index b72a23f..6a2afc5 100755 --- a/encoder/static.php +++ b/encoder/static.php @@ -217,9 +217,7 @@ function update_service($which_service) } else { echo "Error writing file."; } - if ($service_display === "enable") { - exec('sudo systemctl restart encoder-main'); - } + exec('sudo systemctl restart encoder-main'); break; case 'display'; break;