Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
Revert "Restart the server at the beginning of the cronjob, temp fix…
Browse files Browse the repository at this point in the history
… to #1832" (#2146)

* Revert "Restart the server at the beginning of the cronjob, temp fix to #1832 (#1892)"

This reverts commit 87e42da.

* keep ruamel.yaml version pinned
  • Loading branch information
joecheuk committed Oct 29, 2018
1 parent 7522fc8 commit faab5eb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions install/gcp/scripts/run_forseti.sh
Expand Up @@ -30,16 +30,12 @@ if [ ! -f "${FORSETI_SERVER_CONF}" ]; then
exit 1
fi

# Restart the server to avoid auth problem, this is a temp fix to
# https://github.com/GoogleCloudPlatform/forseti-security/issues/1832
sudo systemctl restart forseti.service
# Reload the server configuration settings
forseti server configuration reload

# Wait until the service is started
sleep 10s

# Reload the server configuration settings
forseti server configuration reload

# Set the output format to json
forseti config format json

Expand Down

0 comments on commit faab5eb

Please sign in to comment.