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";
|
||||
# Only runs on sessions with a graphical target like X11 or Wayland.
|
||||
Wants = [ "graphical.target" ];
|
||||
# Only run after the network is online.
|
||||
After = [ "nss-lookup.target" ];
|
||||
StartLimitIntervalSec = 300;
|
||||
StartLimitBurst = 10;
|
||||
};
|
||||
|
|
|
@ -17,14 +17,13 @@ in
|
|||
OnCalendar = "Mon..Fri 09..18:*:*";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "default.target" ];
|
||||
WantedBy = [ "timers.target" ];
|
||||
};
|
||||
};
|
||||
services.slack = {
|
||||
Unit = {
|
||||
Description = "Slack Desktop Client";
|
||||
Wants = [ "graphical.target" ];
|
||||
After = [ "nss-lookup.target" ];
|
||||
StartLimitIntervalSec = 300;
|
||||
StartLimitBurst = 10;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue