too lazy to think of a message, so enjoy this pointless text. Good luck future me...
All checks were successful
Test action / Print hello world (push) Successful in 7m53s
All checks were successful
Test action / Print hello world (push) Successful in 7m53s
This commit is contained in:
parent
5deeadf469
commit
a58c40edd5
2 changed files with 8 additions and 5 deletions
|
|
@ -88,10 +88,17 @@
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = utils.escapeSystemdExecArgs [
|
ExecStart = utils.escapeSystemdExecArgs [
|
||||||
(lib.getExe cfg.package)
|
(lib.getExe pkgs.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,10 +30,6 @@
|
||||||
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp -r ./.output/* $out
|
cp -r ./.output/* $out
|
||||||
|
|
||||||
echo "#!/usr/bin/env bash
|
|
||||||
${(lib.getExe pkgs.bun)} run ../server/index.mjs" > $out/bin/${pname}
|
|
||||||
chmod +x $out/bin/${pname}
|
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue