do-agent: install .service from upstream
This commit is contained in:
parent
5717d9d2f7
commit
961cc80742
@ -18,6 +18,10 @@ buildGoModule rec {
|
|||||||
|
|
||||||
vendorSha256 = null;
|
vendorSha256 = null;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
install -Dm444 -t $out/lib/systemd/system $src/packaging/etc/systemd/system/do-agent.service
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "DigitalOcean droplet system metrics agent";
|
description = "DigitalOcean droplet system metrics agent";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
@ -30,4 +34,4 @@ buildGoModule rec {
|
|||||||
maintainers = with maintainers; [ yvt ];
|
maintainers = with maintainers; [ yvt ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user