deploying & testing muneem today
This commit is contained in:
parent
5690a4f557
commit
089c042b7e
|
@ -5,8 +5,8 @@
|
|||
# scrappy script that requires muneem be cloned to /home/anish/usr/muneem
|
||||
# you also gotta setup .envrc and add all the secrets there lol
|
||||
# muneem needs secrets, and internet access to install dependencies, havent figured that out with nix yet
|
||||
# muneem also depends on jdk11, but that's only to install dependencies, run `bb -m dhyan.main` once before installing this script
|
||||
# If you've updated muneem, you'll want to cd to /home/anish/usr/dhyan and run git pull
|
||||
# muneem also depends on jdk11, but that's only to install dependencies, run `bb -m muneem.main` once before installing this script
|
||||
# If you've updated muneem, you'll want to cd to /home/anish/usr/muneem and run git pull
|
||||
systemd.services.muneem = {
|
||||
serviceConfig.Type = "oneshot";
|
||||
path = with pkgs; [
|
||||
|
@ -17,7 +17,7 @@
|
|||
chromedriver
|
||||
chromium
|
||||
];
|
||||
startAt = "Tue *03:00:00";
|
||||
startAt = "Thu *03:00:00";
|
||||
script = ''
|
||||
cd /home/anish/usr/muneem
|
||||
source .envrc
|
||||
|
@ -30,6 +30,6 @@
|
|||
systemd.timers.muneem = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
partOf = [ "muneem.service" ];
|
||||
timerConfig.OnCalendar = [ "Tue *03:00:00" ];
|
||||
timerConfig.OnCalendar = [ "Thu *03:00:00" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue