Skip to content

Commit

Permalink
Merge pull request #103 from bangadennis/patch-2
Browse files Browse the repository at this point in the history
Extract stdout from registered node_path - gofr.service.j2
  • Loading branch information
ashaban authored Dec 22, 2023
2 parents 4522a4b + a1552f3 commit d2de7b4
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 d2de7b4

Please sign in to comment.