nixos/freeradius: replace preStart with ExecStartPre
This commit is contained in:
@@ -13,11 +13,9 @@ let
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ];
|
||||
wants = [ "network.target" ];
|
||||
preStart = ''
|
||||
${cfg.package}/bin/radiusd -C -d ${cfg.configDir} -l stdout
|
||||
'';
|
||||
|
||||
serviceConfig = {
|
||||
ExecStartPre = "${cfg.package}/bin/radiusd -C -d ${cfg.configDir} -l stdout";
|
||||
ExecStart =
|
||||
"${cfg.package}/bin/radiusd -f -d ${cfg.configDir} -l stdout" + lib.optionalString cfg.debug " -xx";
|
||||
ExecReload = [
|
||||
|
||||
Reference in New Issue
Block a user