mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/do-agent: Depend on network-online.target
This commit is contained in:
parent
e3c1ecf111
commit
00a54207e0
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ in
|
|||
systemd.services.do-agent = {
|
||||
description = "DigitalOcean Droplet Metrics Agent";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.do-agent}/bin/do-agent --syslog";
|
||||
Restart = "always";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue