mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 13:15:30 +03:00
nixos/teeworlds: use lib.getExe
instead of hardcoded path
This commit is contained in:
parent
e233e7d385
commit
a719f91a85
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ in
|
||||||
-i ${teeworldsConf} \
|
-i ${teeworldsConf} \
|
||||||
-o /run/teeworlds/teeworlds.yaml
|
-o /run/teeworlds/teeworlds.yaml
|
||||||
'';
|
'';
|
||||||
ExecStart = "${cfg.package}/bin/teeworlds_srv -f /run/teeworlds/teeworlds.yaml";
|
ExecStart = "${lib.getExe cfg.package} -f /run/teeworlds/teeworlds.yaml";
|
||||||
|
|
||||||
# Hardening
|
# Hardening
|
||||||
CapabilityBoundingSet = false;
|
CapabilityBoundingSet = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue