Last active
February 5, 2018 08:10
-
-
Save jaynzr/4a1eaf4c6bbadf33acc35b1fd8e93e00 to your computer and use it in GitHub Desktop.
CloudSQL Proxy systemd /etc/systemd/system/cloudsql_proxy.service
/etc/systemd/system/cloudsql_proxy.service.d/settings.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=CloudSQL Proxy | |
After=network.target | |
[Service] | |
User=nobody | |
Group=nobody | |
WorkingDirectory=/usr/local/bin | |
ExecStart=/usr/local/bin/cloud_sql_proxy -dir=/cloudsql -instances=${INSTANCES} | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Service] | |
Environment=INSTANCES=<path> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment