chatdesk-ui/postgres_15.8.1.044/ansible/files/gotrue-optimizations.servic...

12 lines
331 B
Django/Jinja

[Unit]
Description=GoTrue (Auth) optimizations
[Service]
Type=oneshot
# we don't want failures from this command to cause PG startup to fail
ExecStart=/bin/bash -c "/opt/supabase-admin-api optimize auth --destination-config-file-path /etc/gotrue/gotrue.generated.env ; exit 0"
User=postgrest
[Install]
WantedBy=multi-user.target