rbingwp restart service-timer

This commit is contained in:
Ivan Dimitrov 2023-11-15 07:44:52 +02:00
parent ae63080789
commit 26c38fbd1c

View File

@ -17,7 +17,7 @@
systemd.user = { systemd.user = {
timers = { timers = {
bingwp = { rbingwp = {
Timer = { Timer = {
OnCalendar = "*-*-* 10:00:00"; OnCalendar = "*-*-* 10:00:00";
Persistent = true; Persistent = true;
@ -37,6 +37,12 @@
ExecStart = [ "${pkgs.scripts}/bin/bingwp" ]; ExecStart = [ "${pkgs.scripts}/bin/bingwp" ];
}; };
}; };
rbingwp = {
Service = {
Type = "oneshot";
ExecStart = [ "${pkgs.systemd}/bin/systemctl --user restart bingwp.service" ];
};
};
}; };
}; };