Skip to content

Commit 4f45470

Browse files
committed
chore: disable auth config reloading within qemu artifact
The QEMU artifact is not running with a filesystem that supports the inotify API, resulting in spurious error messages, and broken config reloading.
1 parent f5a1342 commit 4f45470

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ansible/files/gotrue.service.j2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ Description=Gotrue
44
[Service]
55
Type=simple
66
WorkingDirectory=/opt/gotrue
7+
{% if qemu_mode is defined and qemu_mode %}
8+
ExecStart=/opt/gotrue/gotrue
9+
{% else %}
710
ExecStart=/opt/gotrue/gotrue --config-dir /etc/auth.d
11+
{% endif %}
12+
813
User=gotrue
914
Restart=always
1015
RestartSec=3

0 commit comments

Comments
 (0)