From 31807a861c4da29b9a8b5265912b37bc5a3acf34 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Tue, 6 Aug 2024 15:01:33 +0200 Subject: [PATCH] ledcontrol: simplify Signed-off-by: AuxXxilium --- ledcontrol/install.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ledcontrol/install.sh b/ledcontrol/install.sh index 9e16072..8ec05b8 100755 --- a/ledcontrol/install.sh +++ b/ledcontrol/install.sh @@ -33,16 +33,12 @@ if [ "${1}" = "late" ]; then DEST="/tmpRoot/usr/lib/systemd/system/ledcontrol.service" cat << EOF > ${DEST} [Unit] -Description=Ledcontrol for Ugreen -DefaultDependencies=no -IgnoreOnIsolate=true +Description=Adds uGreen LED control After=multi-user.target [Service] -User=root -Type=simple -Restart=on-failure -RestartSec=10s +Type=oneshot +RemainAfterExit=yes ExecStart=/usr/bin/ledcontrol.sh [Install]