~smoser/cloud-init/lp-1077700

« back to all changes in this revision

Viewing changes to systemd/cloud-config.target

  • Committer: Scott Moser
  • Date: 2011-10-30 21:14:09 UTC
  • Revision ID: smoser@ubuntu.com-20111030211409-8wwwftdhcglzq4y1
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 <gholms@fedoraproject.org>
Patch2: cloud-init-0.6.2-systemd.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# cloud-init normally emits a "cloud-config" upstart event to inform third
 
2
# parties that cloud-config is available, which does us no good when we're
 
3
# using systemd.  cloud-config.target serves as this synchronization point
 
4
# instead.  Services that would "start on cloud-config" with upstart can
 
5
# instead use "After=cloud-config.target" and "Wants=cloud-config.target"
 
6
# as appropriate.
 
7
 
 
8
[Unit]
 
9
Description=Cloud-config availability
 
10
Requires=cloud-init-local.service cloud-init.service