nixos/teeworlds: use lib.getExe instead of hardcoded path
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user