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