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 9729a4cCopy full SHA for 9729a4c
ansible/files/adminapi.service.j2
@@ -1,16 +1,26 @@
1
[Unit]
2
Description=AdminAPI
3
+Requires=network-online.target
4
+After=network-online.target pgbouncer.service
5
+Wants=pgbouncer.service
6
+
7
+# Move this to the Service section if on systemd >=250
8
+StartLimitIntervalSec=60
9
+StartLimitBurst=10
10
11
[Service]
12
Type=simple
13
ExecStart=/opt/supabase-admin-api
14
User=adminapi
15
Restart=always
16
RestartSec=3
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