Set conduit to correctly point to new mountpoint
This commit is contained in:
parent
9c2dfd483b
commit
97c065231b
|
@ -73,7 +73,7 @@ with lib;
|
|||
global.server_name = server_name;
|
||||
global.port = instance.port;
|
||||
global.allow_registration = instance.allow_registration;
|
||||
global.database_path = "/var/lib/${srvName}/";
|
||||
global.database_path = "/mnt/data/${srvName}/";
|
||||
});
|
||||
in
|
||||
{
|
||||
|
@ -103,7 +103,8 @@ with lib;
|
|||
"@system-service"
|
||||
"~@privileged"
|
||||
];
|
||||
StateDirectory = "${srvName}";
|
||||
StateDirectory = "/mnt/data/${srvName}";
|
||||
BindPaths = [ "/mnt/data/${srvName}" ];
|
||||
ExecStart = "${cfg.package}/bin/conduit";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 10;
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
htop-vim
|
||||
kakoune
|
||||
|
||||
docker-compose
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue