Remove the nginx recipe inclusion and the dependency on nginx in the service

The nginx vhost should be set up after the app is deployed. The node app
doesn't need nginx to run
This commit is contained in:
Greg Karékinian 2019-04-23 11:28:23 +02:00
parent 1d0f66adc4
commit fabbe398a2
2 changed files with 0 additions and 3 deletions

View File

@ -25,7 +25,6 @@
# THE SOFTWARE.
include_recipe 'kosmos-nodejs'
include_recipe 'kredits-github::nginx'
app_name = "kredits-github"
deploy_user = "deploy"

View File

@ -1,7 +1,5 @@
[Unit]
Description=Start nodejs app
Requires=nginx.service
After=nginx.service
[Service]
ExecStart=<%= @entry %>