home: update systemd for discord and slack
This commit is contained in:
parent
ab35f03c0d
commit
0bd9159d3f
|
@ -15,8 +15,6 @@ in
|
||||||
Description = "Automatically start Discord on Login";
|
Description = "Automatically start Discord on Login";
|
||||||
# Only runs on sessions with a graphical target like X11 or Wayland.
|
# Only runs on sessions with a graphical target like X11 or Wayland.
|
||||||
Wants = [ "graphical.target" ];
|
Wants = [ "graphical.target" ];
|
||||||
# Only run after the network is online.
|
|
||||||
After = [ "nss-lookup.target" ];
|
|
||||||
StartLimitIntervalSec = 300;
|
StartLimitIntervalSec = 300;
|
||||||
StartLimitBurst = 10;
|
StartLimitBurst = 10;
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,14 +17,13 @@ in
|
||||||
OnCalendar = "Mon..Fri 09..18:*:*";
|
OnCalendar = "Mon..Fri 09..18:*:*";
|
||||||
};
|
};
|
||||||
Install = {
|
Install = {
|
||||||
WantedBy = [ "default.target" ];
|
WantedBy = [ "timers.target" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.slack = {
|
services.slack = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Slack Desktop Client";
|
Description = "Slack Desktop Client";
|
||||||
Wants = [ "graphical.target" ];
|
Wants = [ "graphical.target" ];
|
||||||
After = [ "nss-lookup.target" ];
|
|
||||||
StartLimitIntervalSec = 300;
|
StartLimitIntervalSec = 300;
|
||||||
StartLimitBurst = 10;
|
StartLimitBurst = 10;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue