update: changed to use cfg.port since it might be bound to other than 80
This commit is contained in:
parent
37dfbb55cb
commit
d45acadc59
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@
|
|||
after = ["network.target"];
|
||||
enable = true;
|
||||
script = ''
|
||||
${pkgs.curl}/bin/curl -L http://127.0.0.1/admin/update/tutors/${lib.escapeShellArg cfg.updateToken}
|
||||
${pkgs.curl}/bin/curl -L http://127.0.0.1:${cfg.port}/admin/update/tutors/${lib.escapeShellArg cfg.updateToken}
|
||||
'';
|
||||
environment = {
|
||||
F42_DOMAIN = cfg.domain;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue