Prefer server bin file.
parent
78f6677811
commit
f7b1e01ee9
|
@ -42,9 +42,9 @@ in
|
||||||
Type = "exec";
|
Type = "exec";
|
||||||
EnvironmentFile = "/run/secrets/BOARDWISE_SECRET_KEY_BASE";
|
EnvironmentFile = "/run/secrets/BOARDWISE_SECRET_KEY_BASE";
|
||||||
ExecStartPre = "${boardwise}/bin/migrate";
|
ExecStartPre = "${boardwise}/bin/migrate";
|
||||||
ExecStart = "${boardwise}/bin/boardwise start";
|
ExecStart = "${boardwise}/bin/server start";
|
||||||
ExecStop = "${boardwise}/bin/reconn stop";
|
ExecStop = "${boardwise}/bin/server stop";
|
||||||
ExecReload = "${boardwise}/bin/reconn restart";
|
ExecReload = "${boardwise}/bin/server restart";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ system, pkgs, lib, ... }:
|
{ system, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
reconn = (
|
reconn = (
|
||||||
builtins.getFlake "git+https://git.jrpotter.com/r/reconn?rev=74cb0be878441c4eafcfd2b2c2c926fe87ea8a30"
|
builtins.getFlake "git+ssh://forgejo@git.jrpotter.com/r/reconn?rev=74cb0be878441c4eafcfd2b2c2c926fe87ea8a30"
|
||||||
).packages.${system}.app;
|
).packages.${system}.app;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -39,9 +39,9 @@ in
|
||||||
Type = "exec";
|
Type = "exec";
|
||||||
EnvironmentFile = "/run/secrets/RECONN_SECRET_KEY_BASE";
|
EnvironmentFile = "/run/secrets/RECONN_SECRET_KEY_BASE";
|
||||||
ExecStartPre = "${reconn}/bin/migrate";
|
ExecStartPre = "${reconn}/bin/migrate";
|
||||||
ExecStart = "${reconn}/bin/reconn start";
|
ExecStart = "${reconn}/bin/server start";
|
||||||
ExecStop = "${reconn}/bin/reconn stop";
|
ExecStop = "${reconn}/bin/server stop";
|
||||||
ExecReload = "${reconn}/bin/reconn restart";
|
ExecReload = "${reconn}/bin/server restart";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue