fix maintenance
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Jeffrey C. Ollie 2023-05-02 08:02:01 -05:00
parent fbc89a8a77
commit cefc5fa508
Signed by: jeff
GPG key ID: 6F86035A6D97044E

View file

@ -153,7 +153,7 @@
maintenance = maintenance =
let let
script = pkgs.writeScript "maintenance" '' script = pkgs.writeShellScript "maintenance" ''
CURL_OPTIONS="--fail --silent --show-error --max-time 10 --retry 5 --output /dev/null" CURL_OPTIONS="--fail --silent --show-error --max-time 10 --retry 5 --output /dev/null"
${pkgs.curl}/bin/curl $CURL_OPTIONS http://webserver.healthchecks.svc/ping/$MAINTENANCE_CHECK_UUID/start ${pkgs.curl}/bin/curl $CURL_OPTIONS http://webserver.healthchecks.svc/ping/$MAINTENANCE_CHECK_UUID/start
${self.packages.${system}.healthchecks}/app/manage.py prunenotifications ${self.packages.${system}.healthchecks}/app/manage.py prunenotifications