diff options
author | tzlil <tzlils@protonmail.com> | 2023-09-10 19:47:48 +0300 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-09-10 19:47:48 +0300 |
commit | 313b15f10fee61500de8b8b1333702da8375f6b6 (patch) | |
tree | cbbc574a005edaa64c5db3def8c8034c842234b4 /hosts/vps | |
parent | b8d9878cea5a65e2e6ab4b98aace676f34038824 (diff) |
add discord (openasar/vencord), finalize arxiv server, switch to APL385
Diffstat (limited to 'hosts/vps')
-rw-r--r-- | hosts/vps/services/arXiv.nix | 6 | ||||
-rw-r--r-- | hosts/vps/services/matrix.nix | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/hosts/vps/services/arXiv.nix b/hosts/vps/services/arXiv.nix index 4e45a11..d53d805 100644 --- a/hosts/vps/services/arXiv.nix +++ b/hosts/vps/services/arXiv.nix @@ -17,16 +17,16 @@ arXiv-randomizer = builtins.fetchGit { url = "https://git.tzlil.net/arXiv.git"; ref = "master"; - rev = "d09927ca6f7af2404e9c3a09a6e99dfdd1e87577"; + rev = "fe2d2f0dcc7ae16906a318bf96a651f135649ae7"; }; in { after = ["network.target"]; wantedBy = ["multi-user.target"]; - script = "${lib.getExe python} -m gunicorn -w 5 --log-level debug -b 0.0.0.0:3000 --timeout 90 app:app"; + script = "${lib.getExe python} -m gunicorn -w 1 --log-level debug -b 0.0.0.0:3000 --timeout 90 app:app"; serviceConfig = { Restart = "on-failure"; RestartSec = 0; - WorkingDirectory="${arXiv-randomizer}"; + WorkingDirectory = "${arXiv-randomizer}"; }; }; diff --git a/hosts/vps/services/matrix.nix b/hosts/vps/services/matrix.nix index af38f58..a3be7a2 100644 --- a/hosts/vps/services/matrix.nix +++ b/hosts/vps/services/matrix.nix @@ -121,7 +121,7 @@ } { - directory = "/var/lib/private/dendrite"; + directory = "/var/lib/dendrite"; user = "dendrite"; group = "dendrite"; } |