below: Ship systemd service unit
This commit is contained in:
parent
f91ee3065d
commit
e6e5e634c7
|
@ -22,6 +22,12 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
cargoSha256 = "sha256-EoRCmEe9SAySZCm+QhaR4ngik4Arnm4SZjgDM5fSRmk=";
|
||||
|
||||
prePatch = ''sed -i "s,ExecStart=.*/bin,ExecStart=$out/bin," etc/below.service'';
|
||||
postInstall = ''
|
||||
install -d $out/lib/systemd/system
|
||||
install -t $out/lib/systemd/system etc/below.service
|
||||
'';
|
||||
|
||||
# bpf code compilation
|
||||
hardeningDisable = [ "stackprotector" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue