add back secret key

This commit is contained in:
zack 2024-10-21 20:52:41 -04:00
parent 529467cd0c
commit 8b570686b4
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35

View file

@ -183,6 +183,7 @@
WorkingDirectory = working_directory;
PrivateTmp = true;
ExecStart = pkgs.writeShellScript "start-zoeycomputer" ''
export SECRET_KEY_BASE=$(cat ${cfg.secret_key_file})
# If a password file is specified, construct DATABASE_URL with password
${
if cfg.phx.database.passwordFile != null