From 07ca8dc4659ea90dc934a1fa64fd9e9e3888180d Mon Sep 17 00:00:00 2001 From: root Date: Sat, 31 Aug 2024 09:28:23 -0700 Subject: adjust the service --- systemd/system/lightsout.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd/system/lightsout.service b/systemd/system/lightsout.service index f720f0f..bf7ccd3 100644 --- a/systemd/system/lightsout.service +++ b/systemd/system/lightsout.service @@ -1,6 +1,6 @@ [Unit] Description = turn the led off as a service. -After = network.target +After = sysinit.target [Service] Type = oneshot @@ -13,4 +13,4 @@ RestartSec = 5 TimeoutStartSec = infinity [Install] -WantedBy = multi-user.target +WantedBy = sysinit.target -- cgit v1.2.3