~smoser/cloud-init/trunk.lp1031065

« back to all changes in this revision

Viewing changes to systemd/cloud-final.service

  • Committer: Scott Moser
  • Author(s): Garret Holmstrom
  • Date: 2012-08-31 17:33:54 UTC
  • mfrom: (614.1.3 systemd-cleanup)
  • Revision ID: smoser@ubuntu.com-20120831173354-4581sji2bcg67gzn
update systemd unit files

The systemd unit files are somewhat out of date. Fixes here include telling
systemd to send stdout to a tty so it shows up in console output, updating the
ways they call cloud-init, and disabling timeouts so cloud-config work doesn't
get timed out after 90 seconds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
[Service]
8
8
Type=oneshot
9
 
ExecStart=/usr/bin/cloud-init-cfg all final
 
9
ExecStart=/usr/bin/cloud-init modules --mode=final
10
10
RemainAfterExit=yes
 
11
TimeoutSec=0
 
12
 
 
13
# Output needs to appear in instance console output
 
14
StandardOutput=tty
11
15
 
12
16
[Install]
13
17
WantedBy=multi-user.target