alloydb-auth-proxy
alloydb-auth-proxy copied to clipboard
Document usage with systemd
We should provide an example systemd config file in our documentation.
See https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/4#issuecomment-768069608.
Something like this:
[Unit]
Description=AlloyDB Auth Proxy service
Wants=network-online.target
After=network-online.target
[Service]
WorkingDirectory=/usr/bin
ExecStart=/usr/bin/alloydb-auth-proxy <INSTANCE_URI>
Restart=always
Type=simple
StandardError=syslog
StandardOutput=journal
KillMode=process
[Install]
WantedBy=multi-user.target
Once we finish this, we should also update https://cloud.google.com/alloydb/docs/auth-proxy/best-practices and link to the setup.