Skip to content

Commit

Permalink
change oracle timer to run every 20minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoette committed Oct 15, 2024
1 parent 57c0075 commit 7a2d433
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/oracle-cloud-instance-launcher/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ in {
systemd.timers."oracle-cloud-instance-launcher" = {
wantedBy = [ "timers.target" ];
timerConfig = {
OnBootSec = "1h";
OnUnitActiveSec = "1h";
OnBootSec = "20m";
OnUnitActiveSec = "20m";
Unit = "oracle-cloud-instance-launcher.service";
};
};
Expand All @@ -23,7 +23,7 @@ in {
# Make shure, you have a "config" file and api-key certificate in /root/.oci/
# Also be aware that the oci-cli package wants a .pub filetype as an ssh key file
# Variables defined in /var/src/secrets/oracle/config.yaml
COMPARTMENT_ID=$(${pkgs.yq}/bin/yq .COMPARTMENT_ID /var/src/secrets/oracle/config.yaml | xargs)
SHAPE=$(${pkgs.yq}/bin/yq .SHAPE /var/src/secrets/oracle/config.yaml | xargs)
SUBNET_ID=$(${pkgs.yq}/bin/yq .SUBNET_ID /var/src/secrets/oracle/config.yaml | xargs)
Expand Down

0 comments on commit 7a2d433

Please sign in to comment.