Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Commit

Permalink
Merge pull request #438 from crawford/timeout
Browse files Browse the repository at this point in the history
units: add timeout to all services
  • Loading branch information
crawford authored Sep 13, 2016
2 parents 6cffb83 + 38b8a27 commit 3c68e2e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions units/system-cloudinit@.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ ConditionFileNotEmpty=%f

[Service]
Type=oneshot
TimeoutSec=10min
RemainAfterExit=yes
ExecStart=/usr/bin/coreos-cloudinit --from-file=%f
1 change: 1 addition & 0 deletions units/user-cloudinit-proc-cmdline.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ConditionKernelCommandLine=cloud-config-url

[Service]
Type=oneshot
TimeoutSec=10min
RemainAfterExit=yes
EnvironmentFile=-/etc/environment
ExecStart=/usr/bin/coreos-cloudinit --from-proc-cmdline
1 change: 1 addition & 0 deletions units/user-cloudinit@.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ConditionFileNotEmpty=%f

[Service]
Type=oneshot
TimeoutSec=10min
RemainAfterExit=yes
EnvironmentFile=-/etc/environment
ExecStart=/usr/bin/coreos-cloudinit --from-file=%f
1 change: 1 addition & 0 deletions units/user-config-ovfenv.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ After=user-config-vmw-tools.service

[Service]
Type=oneshot
TimeoutSec=10min
RemainAfterExit=yes
EnvironmentFile=-/etc/environment
ExecStart=/usr/bin/coreos-cloudinit --from-vmware-ovf-env=/media/ovfenv/ovf-env.xml
1 change: 1 addition & 0 deletions units/user-configdrive.service
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ After=oem-cloudinit.service

[Service]
Type=oneshot
TimeoutSec=10min
RemainAfterExit=yes
EnvironmentFile=-/etc/environment
ExecStart=/usr/bin/coreos-cloudinit --from-configdrive=/media/configdrive
1 change: 1 addition & 0 deletions units/user-configvirtfs.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Before=user-config.target

[Service]
Type=oneshot
TimeoutSec=10min
RemainAfterExit=yes
EnvironmentFile=-/etc/environment
ExecStart=/usr/bin/coreos-cloudinit --from-configdrive=/media/configvirtfs

0 comments on commit 3c68e2e

Please sign in to comment.