Skip to content

Commit

Permalink
Extract stdout from node_path- gofr.service.j2
Browse files Browse the repository at this point in the history
gets the stdout of the `which node`
  • Loading branch information
bangadennis authored Dec 21, 2023
1 parent 94182b1 commit a1552f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packaging/ansible/ubuntu/templates/gofr.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ After=network.target
[Service]
Type=simple
WorkingDirectory=/var/lib/gofr/gofr-backend
ExecStart={{node_path}} /var/lib/gofr/gofr-backend/{{site}}/bin/www
ExecStart={{node_path.stdout}} /var/lib/gofr/gofr-backend/{{site}}/bin/www
Restart=always
Environment=NODE_ENV=production

[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target

0 comments on commit a1552f3

Please sign in to comment.