rbingwp restart service-timer
This commit is contained in:
parent
ae63080789
commit
26c38fbd1c
@ -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" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user