diff --git a/PKGBUILD b/PKGBUILD index 953bf17..b0d2734 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -16,7 +16,7 @@ license=("APACHE") install=cadvisor.install sha512sums=('846d31d84970680f73337219caf0e71491e837c1c967a5ebd2db759805a153dc27cd9f9ce46657b8b9ba95d9e639cfac70f2a5304883e7a6a301609de9b066d2' - '14845b27151c1741e32c4d7cf87ef1474dbec50ad173cdc4c3053f91c3e80aa5ca98be490658dd60aeec66905cb4fa16405614b298767159df4262fbf1c48850' + '79d5c363041bedac16547033ea0abb1ae15edf0eb1e96779cbb3747666cf1b0cdaaa603fb76b8cb6324a17e6f36239173afda3def3eee47433dec74a72bd8a90' 'c55320053e34b10b2d94627cec62242e58fcee72c8cc7eb6efa083b1bc26bedf4ce79efe3fa49bf9e1648c3a1a7b8e9d7bcfce08aa002dc7bfd6c719ad73b5b0') build() { diff --git a/cadvisor.service b/cadvisor.service index 48c7adb..d3a3df1 100644 --- a/cadvisor.service +++ b/cadvisor.service @@ -15,6 +15,7 @@ Description=cAdvisor Documentation=https://github.com/google/cadvisor After=network.target +After=network-online.target After=machines.target [Service] @@ -25,7 +26,7 @@ Type=simple Restart=on-failure RestartSec=10s -ExecStart=/usr/bin/cadvisor -logtostderr +ExecStart=/usr/bin/cadvisor -logtostderr $EXTRA [Install] WantedBy=multi-user.target