From 6d9f6dfcf7e28f398b426c18ca36adeec24f8061 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Sun, 30 Oct 2011 17:14:09 -0400 Subject: Add sample/example systemd config files This imports the systemd config files that Garrett Holmstrom added to fedora. Its not essential that thay be here, rather than just maintained as distribution delta, but there exists upstart files here. taken from git://pkgs.fedoraproject.org/cloud-init.git commit 87f33190f43d2b26cced4597e7298835024466c2 Author: Garrett Holmstrom Patch2: cloud-init-0.6.2-systemd.patch --- systemd/cloud-config.target | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 systemd/cloud-config.target (limited to 'systemd/cloud-config.target') diff --git a/systemd/cloud-config.target b/systemd/cloud-config.target new file mode 100644 index 00000000..28f5bcf1 --- /dev/null +++ b/systemd/cloud-config.target @@ -0,0 +1,10 @@ +# cloud-init normally emits a "cloud-config" upstart event to inform third +# parties that cloud-config is available, which does us no good when we're +# using systemd. cloud-config.target serves as this synchronization point +# instead. Services that would "start on cloud-config" with upstart can +# instead use "After=cloud-config.target" and "Wants=cloud-config.target" +# as appropriate. + +[Unit] +Description=Cloud-config availability +Requires=cloud-init-local.service cloud-init.service -- cgit v1.2.3