aboutsummaryrefslogtreecommitdiffstats
path: root/meta-systemd/recipes-core/systemd/systemd-compat-units/machineid.service
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2012-07-11 13:24:32 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2012-07-16 09:39:05 +0200
commita5b2aea321b2851ed82828e6204c075a2329059c (patch)
tree06c57ad79e5cdcb0b8b62bb6e910c29c379fac8c /meta-systemd/recipes-core/systemd/systemd-compat-units/machineid.service
parent5ed19733f5193b752da650841a1383adb532fffd (diff)
downloadmeta-openembedded-contrib-a5b2aea321b2851ed82828e6204c075a2329059c.tar.gz
move systemd recipes to meta-systemd
Diffstat (limited to 'meta-systemd/recipes-core/systemd/systemd-compat-units/machineid.service')
-rw-r--r--meta-systemd/recipes-core/systemd/systemd-compat-units/machineid.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-systemd/recipes-core/systemd/systemd-compat-units/machineid.service b/meta-systemd/recipes-core/systemd/systemd-compat-units/machineid.service
new file mode 100644
index 0000000000..cab8f76ab8
--- /dev/null
+++ b/meta-systemd/recipes-core/systemd/systemd-compat-units/machineid.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Machine ID first boot configure
+DefaultDependencies=no
+ConditionPathExists=|!/etc/machine-id
+After=remount-rootfs.service
+Before=sysinit.target
+
+[Service]
+ExecStart=/bin/systemd-machine-id-setup
+RemainAfterExit=No
+Type=oneshot
+StandardOutput=syslog
+
+[Install]
+WantedBy=basic.target
+WantedBy=sysinit.target