File tree Expand file tree Collapse file tree
modules/scripts/startup-script Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ sudo bash add-monitoring-agent-repo.sh --also-install
160160curl -sSO https://dl.google.com/cloudagents/add-logging-agent-repo.sh
161161sudo bash add-logging-agent-repo.sh --also-install
162162sudo service stackdriver-agent start
163+ sudo service google-fluentd restart
163164` ` `
164165
165166# ### Cloud Ops Agent Installation
@@ -177,6 +178,12 @@ curl -sSO https://dl.google.com/cloudagents/add-monitoring-agent-repo.sh
177178sudo dpkg --configure -a
178179sudo bash add-monitoring-agent-repo.sh --uninstall
179180sudo bash add-monitoring-agent-repo.sh --remove-repo
181+ sudo systemctl stop google-fluentd.service
182+ sudo systemctl disable google-fluentd.service
183+ sudo dpkg --configure -a
184+ curl -sSO https://dl.google.com/cloudagents/add-logging-agent-repo.sh
185+ sudo bash add-logging-agent-repo.sh --uninstall
186+ sudo bash add-logging-agent-repo.sh --remove-repo
180187
181188# Install ops-agent
182189
You can’t perform that action at this time.
0 commit comments