too lazy to think of a message, so enjoy this pointless text. Good luck future me...
Some checks failed
Test action / Print hello world (push) Has been cancelled
Some checks failed
Test action / Print hello world (push) Has been cancelled
This commit is contained in:
parent
9155e57e5e
commit
bf66eb0873
2 changed files with 10 additions and 9 deletions
|
|
@ -87,19 +87,19 @@
|
||||||
description = "Amarth cloud's customer portal";
|
description = "Amarth cloud's customer portal";
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = utils.escapeSystemdExecArgs [
|
|
||||||
(lib.getExe pkgs.bun)
|
|
||||||
"--bun"
|
|
||||||
"run"
|
|
||||||
"${cfg.package}/server/index.mjs"
|
|
||||||
"--config"
|
|
||||||
(format.generate "config.json" cfg.settings)
|
|
||||||
];
|
|
||||||
# ExecStart = utils.escapeSystemdExecArgs [
|
# ExecStart = utils.escapeSystemdExecArgs [
|
||||||
# (lib.getExe cfg.package)
|
# (lib.getExe pkgs.bun)
|
||||||
|
# "--bun"
|
||||||
|
# "run"
|
||||||
|
# "${cfg.package}/server/index.mjs"
|
||||||
# "--config"
|
# "--config"
|
||||||
# (format.generate "config.json" cfg.settings)
|
# (format.generate "config.json" cfg.settings)
|
||||||
# ];
|
# ];
|
||||||
|
ExecStart = utils.escapeSystemdExecArgs [
|
||||||
|
(lib.getExe cfg.package)
|
||||||
|
"--config"
|
||||||
|
(format.generate "config.json" cfg.settings)
|
||||||
|
];
|
||||||
|
|
||||||
StateDirectory = "amarth-customer-portal";
|
StateDirectory = "amarth-customer-portal";
|
||||||
CacheDirectory = "amarth-customer-portal";
|
CacheDirectory = "amarth-customer-portal";
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@
|
||||||
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp -r ./.output/* $out
|
cp -r ./.output/* $out
|
||||||
|
bun build ./.output/server/index.mjs --compile --outfile $out/bin/${pname}
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue