about summary refs log tree commit diff
path: root/nixos/modules/services/web-apps
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-10-08 01:21:44 +0900
committersefidel <contact@sefidel.net>2023-10-08 01:21:44 +0900
commit57dbf4c082e00be0c27412b72080b99b09101d88 (patch)
tree23529f95e80313ff12f08cf5a1afbe9c82bba636 /nixos/modules/services/web-apps
parentd5df62069a476b88be0bd60bb544d42d9bb64870 (diff)
downloadnixlib-57dbf4c082e00be0c27412b72080b99b09101d88.tar
nixlib-57dbf4c082e00be0c27412b72080b99b09101d88.tar.gz
nixlib-57dbf4c082e00be0c27412b72080b99b09101d88.tar.bz2
nixlib-57dbf4c082e00be0c27412b72080b99b09101d88.tar.lz
nixlib-57dbf4c082e00be0c27412b72080b99b09101d88.tar.xz
nixlib-57dbf4c082e00be0c27412b72080b99b09101d88.tar.zst
nixlib-57dbf4c082e00be0c27412b72080b99b09101d88.zip
nixos/tt-rss: supply --force-yes to update-schema
This commit fixes the service failing to start for the first time since
the update-schema operation requires human interaction (typing 'yes') in
order to actually perform the schema upgrade.
Diffstat (limited to 'nixos/modules/services/web-apps')
-rw-r--r--nixos/modules/services/web-apps/tt-rss.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/tt-rss.nix b/nixos/modules/services/web-apps/tt-rss.nix
index 592ab253f7da..88f9b5cba5c4 100644
--- a/nixos/modules/services/web-apps/tt-rss.nix
+++ b/nixos/modules/services/web-apps/tt-rss.nix
@@ -596,7 +596,7 @@ let
         description = "Tiny Tiny RSS feeds update daemon";
 
         preStart = ''
-          ${pkgs.php81}/bin/php ${cfg.root}/www/update.php --update-schema
+          ${pkgs.php81}/bin/php ${cfg.root}/www/update.php --update-schema --force-yes
         '';
 
         serviceConfig = {