File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 114114
115115 filteredArgs = builtins . filter isNormalArg args ;
116116 in ''
117- ${ datadir }
117+ ${ datadir } \
118118 ${ jwtSecret } \
119119 ${ concatStringsSep " \\ \n " filteredArgs } \
120120 ${ lib . escapeShellArgs cfg . extraArgs }
@@ -132,12 +132,13 @@ in {
132132
133133 # create service config by merging with the base config
134134 serviceConfig = mkMerge [
135- baseServiceConfig
136135 {
137136 User = serviceName ;
138137 StateDirectory = serviceName ;
138+ MemoryDenyWriteExecute = false ; # setting this option is incompatible with JIT
139139 ExecStart = "${ cfg . package } /bin/nethermind ${ scriptArgs } " ;
140140 }
141+ baseServiceConfig
141142 ( mkIf ( cfg . args . modules . JsonRpc . JwtSecretFile != null ) {
142143 LoadCredential = [ "jwtsecret:${ cfg . args . modules . JsonRpc . JwtSecretFile } " ] ;
143144 } )
You can’t perform that action at this time.
0 commit comments