Closed firewall port. Fixed middlewares not defined error.

This commit is contained in:
Raphaël Numbus
2026-02-27 16:03:59 +01:00
parent bf753471ba
commit 42f463152f
5 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -210,6 +210,7 @@ helper.mkPodmanService {
onFailure = [ "service-failure-notify@%n.service" ];
startLimitBurst = 5;
startLimitIntervalSec = 600;
TimeoutStartSec = "2000";
path = [ pkgs.coreutils pkgs.sudo pkgs.podman ];
serviceConfig = {
Type = "oneshot";
@@ -224,8 +225,8 @@ helper.mkPodmanService {
sleep 15
done
source /var/lib/numbus-server/${name}/.env
sleep 300
sudo -u numbus-admin podman exec --user www-data nextcloud-server php occ background:cron
sudo -u numbus-admin podman exec --user www-data nextcloud-server php -f /var/www/html/cron.php
sudo -u numbus-admin podman exec --user www-data nextcloud-server php occ db:add-missing-indices