a
This commit is contained in:
@@ -129,8 +129,7 @@ in
|
||||
cfgFile = "${config.services.writefreely.stateDir}/config.ini";
|
||||
in {
|
||||
postStart = ''
|
||||
chmod 550 '${cfgFile}'
|
||||
echo "1111" >> ${cfgFile} # DEBUG
|
||||
chmod 660 '${cfgFile}'
|
||||
${lib.getExe pkgs.replace-secret} "@replace_oauth_secret@" "${oauthClientSecretFP}" "${cfgFile}"
|
||||
chmod 440 '${cfgFile}'
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user