remove java from systemd unit dependency

call at 8am
This commit is contained in:
Anish L 2022-07-13 18:31:52 +10:00
parent f50dd169e4
commit 579ce40308

View file

@ -7,8 +7,10 @@
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
path = [ path = [
pkgs.babashka pkgs.babashka
pkgs.jdk11 pkgs.git
pkgs.curl
]; ];
startAt = "*08:00:00";
script = '' script = ''
cd /home/anish/usr/dhyan cd /home/anish/usr/dhyan
source .envrc source .envrc
@ -21,7 +23,6 @@
systemd.timers.dhyan = { systemd.timers.dhyan = {
wantedBy = [ "timers.target" ]; wantedBy = [ "timers.target" ];
partOf = [ "kitaab-sync.service" ]; partOf = [ "kitaab-sync.service" ];
timerConfig.OnCalendar = [ "daily" ]; timerConfig.OnCalendar = [ "*08:00:00" ];
startAt = "*08:00:00";
}; };
} }