We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f832c25 commit 4ce7c11Copy full SHA for 4ce7c11
ansible/files/adminapi.service.j2
@@ -1,16 +1,26 @@
1
[Unit]
2
Description=AdminAPI
3
+After=network.target network-online.target pgbouncer.service
4
+Wants=network-online.target
5
+Requires=pgbouncer.service
6
+StartLimitIntervalSec=60
7
+StartLimitBurst=10
8
9
[Service]
10
Type=simple
11
+ExecStartPre=/bin/bash -c '! ss -ltn | grep -q ":8085"'
12
ExecStart=/opt/supabase-admin-api
13
User=adminapi
14
Restart=always
15
RestartSec=3
16
+KillMode=process
17
+TimeoutStopSec=10
18
Environment="AWS_USE_DUALSTACK_ENDPOINT=true"
19
{% if qemu_mode is defined and qemu_mode %}
20
Environment="AWS_SDK_LOAD_CONFIG=true"
21
{% endif %}
22
+StandardOutput=journal
23
+StandardError=journal
24
25
[Install]
26
WantedBy=multi-user.target
0 commit comments