Go into your discourse folder and you’ll see templates, then web.template, I looked for where yarn was mentioned and I added it below it
Thanks, found it. Do I need the - exec line before the 600000 TO yarn config line and should it also have “hook: yarn” in there
Just to be clear, I added this before the yarn exec if-fi statement and it worked perfectly. Thanks @Genisis. You will need to add the correct spacings to match the surrounding execs.
exec:
cd: $home
cmd: - “su discourse -c ‘yarn config set network-timeout 600000 -g’”
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.