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

This commit is contained in:
Chris Kruining 2025-10-09 10:34:52 +00:00
parent 5deeadf469
commit a58c40edd5
2 changed files with 8 additions and 5 deletions

View file

@ -88,10 +88,17 @@
serviceConfig = {
ExecStart = utils.escapeSystemdExecArgs [
(lib.getExe cfg.package)
(lib.getExe pkgs.bun)
"run"
"${cfg.package}/server/index.mjs"
"--config"
(format.generate "config.json" cfg.settings)
];
# ExecStart = utils.escapeSystemdExecArgs [
# (lib.getExe cfg.package)
# "--config"
# (format.generate "config.json" cfg.settings)
# ];
StateDirectory = "amarth-customer-portal";
CacheDirectory = "amarth-customer-portal";

View file

@ -30,10 +30,6 @@
mkdir -p $out/bin
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
'';