File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ [Unit]
2
+ Description=GoTrue (Auth) optimizations
3
+
4
+ [Service]
5
+ Type=oneshot
6
+ # we don't want failures from this command to cause PG startup to fail
7
+ ExecStart=/bin/bash -c "/opt/supabase-admin-api optimize auth --destination-config-file-path /etc/gotrue/gotrue.generated.env ; exit 0"
8
+ User=postgrest
9
+
10
+ [Install]
11
+ WantedBy=multi-user.target
Original file line number Diff line number Diff line change 49
49
src : files/gotrue.service.j2
50
50
dest : /etc/systemd/system/gotrue.service
51
51
52
+ - name : gotrue - create optimizations file
53
+ template :
54
+ src : files/gotrue-optimizations.service.j2
55
+ dest : /etc/systemd/system/gotrue-optimizations.service
56
+
52
57
- name : gotrue - reload systemd
53
58
systemd :
54
59
daemon_reload : yes
You can’t perform that action at this time.
0 commit comments