ma rss.euer: backup database

This commit is contained in:
makefu 2021-04-04 10:23:57 +02:00
parent 93bb408b53
commit f4e1fbff42
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -9,7 +9,13 @@ in {
}; };
systemd.services.tt-rss.serviceConfig.ExecStart = lib.mkForce "${pkgs.php}/bin/php /var/lib/tt-rss/update_daemon2.php"; systemd.services.tt-rss.serviceConfig.ExecStart = lib.mkForce "${pkgs.php}/bin/php /var/lib/tt-rss/update_daemon2.php";
services.postgresql.package = pkgs.postgresql_9_6; services.postgresql.package = pkgs.postgresql_9_6;
state = [ config.services.postgresql.dataDir ]; state = [ config.services.postgresqlBackup.location ];
services.postgresqlBackup = {
enable = true;
databases = [ config.services.tt-rss.database.name ];
};
services.nginx.virtualHosts."${fqdn}" = { services.nginx.virtualHosts."${fqdn}" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;