Give storage location to all services

This commit is contained in:
Rory&
2025-12-27 03:01:26 +01:00
parent f23943b12c
commit f72e47c267

View File

@@ -197,6 +197,14 @@ in
CONFIG_PATH = configFile;
CONFIG_READONLY = 1;
}
// (
if cfg.cdnPath != null then
{
STORAGE_LOCATION = cfg.cdnPath;
}
else
{ }
)
);
serviceConfig = {
ExecStart = "${cfg.package}/bin/start-api";
@@ -217,6 +225,14 @@ in
CONFIG_PATH = configFile;
CONFIG_READONLY = 1;
}
// (
if cfg.cdnPath != null then
{
STORAGE_LOCATION = cfg.cdnPath;
}
else
{ }
)
);
serviceConfig = {
ExecStart = "${cfg.package}/bin/start-gateway";