This commit is contained in:
parent
797dff20ed
commit
4e61a0d3fc
1 changed files with 0 additions and 9 deletions
|
@ -206,15 +206,6 @@
|
|||
executable = true;
|
||||
destination = "/bin/maintenance";
|
||||
};
|
||||
# script = pkgs.writeShellScript "maintenance" ''
|
||||
# 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
|
||||
# ${self.packages.${system}.healthchecks}/app/manage.py prunenotifications
|
||||
# ${self.packages.${system}.healthchecks}/app/manage.py pruneusers
|
||||
# ${self.packages.${system}.healthchecks}/app/manage.py prunetokenbucket
|
||||
# ${self.packages.${system}.healthchecks}/app/manage.py pruneflips
|
||||
# ${pkgs.curl}/bin/curl $CURL_OPTIONS http://webserver.healthchecks.svc/ping/$MAINTENANCE_CHECK_UUID
|
||||
# '';
|
||||
in
|
||||
pkgs.dockerTools.buildLayeredImage (
|
||||
pkgs.lib.attrsets.recursiveUpdate baseImage {
|
||||
|
|
Loading…
Reference in a new issue