merge: branch 'bg/nmcs-unit-burst'
cloud-setup: fix placement of directives in the systemd unit https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2030
This commit is contained in:
@@ -4,10 +4,6 @@ Documentation=man:nm-cloud-setup(8)
|
|||||||
Before=network-online.target
|
Before=network-online.target
|
||||||
After=NetworkManager.service
|
After=NetworkManager.service
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
ExecStart=@libexecdir@/nm-cloud-setup
|
|
||||||
|
|
||||||
# The service restart gets triggered from dispatcher script
|
# The service restart gets triggered from dispatcher script
|
||||||
# (pre-up and dhcp4-change actions), possibly ending up with many
|
# (pre-up and dhcp4-change actions), possibly ending up with many
|
||||||
# restart requests at the same time (e.g. on initial daemon startup
|
# restart requests at the same time (e.g. on initial daemon startup
|
||||||
@@ -19,6 +15,10 @@ ExecStart=@libexecdir@/nm-cloud-setup
|
|||||||
StartLimitIntervalSec=1
|
StartLimitIntervalSec=1
|
||||||
StartLimitBurst=100
|
StartLimitBurst=100
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=@libexecdir@/nm-cloud-setup
|
||||||
|
|
||||||
#Environment=NM_CLOUD_SETUP_LOG=TRACE
|
#Environment=NM_CLOUD_SETUP_LOG=TRACE
|
||||||
|
|
||||||
# Cloud providers are disabled by default. You need to
|
# Cloud providers are disabled by default. You need to
|
||||||
|
Reference in New Issue
Block a user