summaryrefslogtreecommitdiffstats
path: root/modules.d/slx-uuid/services/s3-get-system-uuid.service
diff options
context:
space:
mode:
authorSimon Rettberg2024-01-25 15:47:09 +0100
committerSimon Rettberg2024-01-29 09:53:08 +0100
commitabb148916593de63554ef58c53cb1dd8fbbb0ab1 (patch)
treed8c640c33f699f3abc567d9bbf111190c779b7d2 /modules.d/slx-uuid/services/s3-get-system-uuid.service
parent[dnbd3-rootfs] Try optimized ext4 mount options if none are given (diff)
downloadsystemd-init-abb148916593de63554ef58c53cb1dd8fbbb0ab1.tar.gz
systemd-init-abb148916593de63554ef58c53cb1dd8fbbb0ab1.tar.xz
systemd-init-abb148916593de63554ef58c53cb1dd8fbbb0ab1.zip
Try to use more systemd services
Diffstat (limited to 'modules.d/slx-uuid/services/s3-get-system-uuid.service')
-rw-r--r--modules.d/slx-uuid/services/s3-get-system-uuid.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules.d/slx-uuid/services/s3-get-system-uuid.service b/modules.d/slx-uuid/services/s3-get-system-uuid.service
new file mode 100644
index 00000000..b726cd2b
--- /dev/null
+++ b/modules.d/slx-uuid/services/s3-get-system-uuid.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Get system UUID
+Requires=dracut-cmdline.service
+After=dracut-cmdline.service
+Wants=s3-parse-network-kcl.service
+After=s3-parse-network-kcl.service
+DefaultDependencies=no
+IgnoreOnIsolate=true
+
+[Service]
+Type=oneshot
+RemainAfterExit=true
+ExecStart=/usr/local/bin/s3-get-system-uuid.sh