daed: add systemd service (#417217)
This commit is contained in:
commit
19359fcb8f
@ -95,6 +95,12 @@ buildGoModule rec {
|
|||||||
runHook postBuild
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
install -Dm444 $src/install/daed.service -t $out/lib/systemd/system
|
||||||
|
substituteInPlace $out/lib/systemd/system/daed.service \
|
||||||
|
--replace-fail /usr/bin $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
passthru.updateScript = _experimental-update-script-combinators.sequence [
|
passthru.updateScript = _experimental-update-script-combinators.sequence [
|
||||||
(nix-update-script {
|
(nix-update-script {
|
||||||
attrPath = "daed.web";
|
attrPath = "daed.web";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user