Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document usage with systemd #636

Open
enocom opened this issue Apr 24, 2024 · 2 comments
Open

Document usage with systemd #636

enocom opened this issue Apr 24, 2024 · 2 comments
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@enocom
Copy link
Member

enocom commented Apr 24, 2024

We should provide an example systemd config file in our documentation.

See GoogleCloudPlatform/cloud-sql-proxy#4 (comment).

@enocom enocom added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. priority: p2 Moderately-important priority. Fix may not be included in next release. labels Apr 24, 2024
@enocom
Copy link
Member Author

enocom commented Apr 24, 2024

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

@enocom enocom assigned enocom and unassigned jackwotherspoon Apr 24, 2024
@enocom
Copy link
Member Author

enocom commented Jul 29, 2024

Once we finish this, we should also update https://cloud.google.com/alloydb/docs/auth-proxy/best-practices and link to the setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants