Adjust systemd units to wait for kernel modules to be loaded (#23)

* Run ugreen-diskiomon.service after kernel modules are loaded

* Run ugreen-netdevmon@.service after kernel module is loaded
This commit is contained in:
KrzysztofHajdamowicz
2024-09-18 20:30:24 +02:00
committed by GitHub
parent db8e771d0c
commit 0facdf2a6f
2 changed files with 4 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
[Unit]
Description=UGREEN LEDs daemon for monitoring diskio and blinking corresponding LEDs
After=systemd-modules-load.service
Requires=systemd-modules-load.service
[Service]
ExecStartPre=/usr/bin/ugreen-probe-leds

View File

@@ -1,5 +1,7 @@
[Unit]
Description=UGREEN LEDs daemon for monitoring netio (of %i) and blinking corresponding LEDs
After=systemd-modules-load.service
Requires=systemd-modules-load.service
[Service]
ExecStartPre=/usr/bin/ugreen-probe-leds