diff --git a/packaging/ansible/ubuntu/templates/gofr.service.j2 b/packaging/ansible/ubuntu/templates/gofr.service.j2 index fb8fa220..7756075c 100644 --- a/packaging/ansible/ubuntu/templates/gofr.service.j2 +++ b/packaging/ansible/ubuntu/templates/gofr.service.j2 @@ -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 \ No newline at end of file +WantedBy=multi-user.target