diff --git a/Backend/BackendLoop.cs b/Backend/BackendLoop.cs index 061b6c38..54c695dd 100644 --- a/Backend/BackendLoop.cs +++ b/Backend/BackendLoop.cs @@ -30,7 +30,7 @@ namespace Swarmops.Backend if (!SystemSettings.DatabaseInitialized) { - // will restart the service every 30s until db initialized on OOBE + // will restart the service every 15s until db initialized on OOBE // also, the read of DatabaseInitialized can and will fail if // we're not initalized enough to even have a database diff --git a/Backend/libsystemd/swarmops-backend.service b/Backend/libsystemd/swarmops-backend.service index 1a63d458..5e51f3e9 100644 --- a/Backend/libsystemd/swarmops-backend.service +++ b/Backend/libsystemd/swarmops-backend.service @@ -7,7 +7,7 @@ User=root ExecStart=/usr/bin/mono /usr/share/swarmops/backend/Swarmops.Backend.exe WorkingDirectory=/usr/share/swarmops/backend Restart=on-failure -RestartSec=30 +RestartSec=15 [Install] diff --git a/FrontSocket/FrontendLoop.cs b/FrontSocket/FrontendLoop.cs index 6afd0dff..c794713a 100644 --- a/FrontSocket/FrontendLoop.cs +++ b/FrontSocket/FrontendLoop.cs @@ -25,7 +25,7 @@ namespace Swarmops.Frontend.Socket if (!SystemSettings.DatabaseInitialized) { - // will restart the service every 30s until db initialized on OOBE + // will restart the service every 15s until db initialized on OOBE // also, the read of DatabaseInitialized can and will fail if // we're not initalized enough to even have a database diff --git a/FrontSocket/libsystemd/swarmops-frontend.service b/FrontSocket/libsystemd/swarmops-frontend.service index 7bf7251f..c79771fa 100644 --- a/FrontSocket/libsystemd/swarmops-frontend.service +++ b/FrontSocket/libsystemd/swarmops-frontend.service @@ -7,7 +7,7 @@ User=root ExecStart=/usr/bin/mono /usr/share/swarmops/frontend/bin/Swarmops.Frontend.Socket.exe WorkingDirectory=/usr/share/swarmops/frontend Restart=on-failure -RestartSec=30 +RestartSec=15 [Install] WantedBy=multi-user.target