mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-30 18:15:41 +00:00
Give storage location to all services
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user