mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +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} \
|
||||
-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
|
||||
CapabilityBoundingSet = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue