remove java from systemd unit dependency
call at 8am
This commit is contained in:
parent
f50dd169e4
commit
579ce40308
|
@ -7,8 +7,10 @@
|
|||
serviceConfig.Type = "oneshot";
|
||||
path = [
|
||||
pkgs.babashka
|
||||
pkgs.jdk11
|
||||
pkgs.git
|
||||
pkgs.curl
|
||||
];
|
||||
startAt = "*08:00:00";
|
||||
script = ''
|
||||
cd /home/anish/usr/dhyan
|
||||
source .envrc
|
||||
|
@ -21,7 +23,6 @@
|
|||
systemd.timers.dhyan = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
partOf = [ "kitaab-sync.service" ];
|
||||
timerConfig.OnCalendar = [ "daily" ];
|
||||
startAt = "*08:00:00";
|
||||
timerConfig.OnCalendar = [ "*08:00:00" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue