add bash and node to path so pnpm build functions
This commit is contained in:
parent
83aa6fb46d
commit
70738f4c97
1 changed files with 2 additions and 1 deletions
|
|
@ -40,6 +40,7 @@ in
|
|||
systemd.services.wynne-rebuild = {
|
||||
description = "Clone/pull and build wynne.rs";
|
||||
after = [ "network-online.target" ];
|
||||
path = [ pkgs.nodejs pkgs.bash ];
|
||||
environment = {
|
||||
ASTRO_DB_REMOTE_URL = "file:${dataDir}/data/guestbook.db";
|
||||
};
|
||||
|
|
@ -61,7 +62,7 @@ in
|
|||
${pkgs.git}/bin/git fetch origin
|
||||
${pkgs.git}/bin/git reset --hard origin/master
|
||||
${pkgs.pnpm}/bin/pnpm install --frozen-lockfile
|
||||
${pkgs.pnpm}/bin/pnpm build
|
||||
${pkgs.pnpm}/bin/pnpm build
|
||||
'';
|
||||
# + prefix runs this line as root (wynne user can't restart services)
|
||||
ExecStartPost = "+/run/current-system/sw/bin/systemctl restart wynne";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue