fix dhyan!!!
This commit is contained in:
parent
b2e34273a6
commit
96473e4da5
|
@ -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" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue