fix dhyan!!!

This commit is contained in:
Anish Lakhwara 2022-12-20 15:51:01 +10:00
parent b2e34273a6
commit 96473e4da5

View file

@ -16,17 +16,18 @@
]; ];
startAt = "*08:00:00"; startAt = "*08:00:00";
script = '' script = ''
cd /home/anish/usr/dhyan
source .envrc source .envrc
bb -m dhyan.main bb -m dhyan.main
''; '';
serviceConfig = { serviceConfig = {
User = "anish"; User = "anish";
WorkingDirectory = "/home/anish/usr/dhyan";
Environment = "/home/anish/usr/.envrc";
}; };
}; };
systemd.timers.dhyan = { systemd.timers.dhyan = {
wantedBy = [ "timers.target" ]; wantedBy = [ "timers.target" ];
partOf = [ "kitaab-sync.service" ]; partOf = [ "dhyan.service" ];
timerConfig.OnCalendar = [ "08:00:00" ]; timerConfig.OnCalendar = [ "08:00:00" ];
}; };
} }