Skip to content

Commit

Permalink
chore: fix launch path
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Feb 22, 2024
1 parent d480046 commit a843858
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ WORKDIR /app
COPY --from=0 /app/ /app/

USER node
ENTRYPOINT ["node", "/app/dist/main.js"]
ENTRYPOINT ["node", "/app/satellite/dist/main.js"]
4 changes: 2 additions & 2 deletions pi-image/satellite.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Wants=network-online.target
Type=simple
User=satellite
WorkingDirectory=/usr/local/src/companion-satellite
ExecStartPre=+/opt/fnm/aliases/default/bin/node /usr/local/src/companion-satellite/dist/fixup-pi-config.js /home/satellite/satellite-config.json
ExecStart=/opt/fnm/aliases/default/bin/node /usr/local/src/companion-satellite/dist/main.js /home/satellite/satellite-config.json
ExecStartPre=+/opt/fnm/aliases/default/bin/node /usr/local/src/companion-satellite/satellite/dist/fixup-pi-config.js /home/satellite/satellite-config.json
ExecStart=/opt/fnm/aliases/default/bin/node /usr/local/src/companion-satellite/satellite/dist/main.js /home/satellite/satellite-config.json
Restart=on-failure
KillSignal=SIGINT
TimeoutStopSec=60
Expand Down

0 comments on commit a843858

Please sign in to comment.