Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow 1 server documentation issue #11

Open
asabaylus opened this issue Dec 21, 2011 · 0 comments
Open

Workflow 1 server documentation issue #11

asabaylus opened this issue Dec 21, 2011 · 0 comments

Comments

@asabaylus
Copy link

Im a bit of a n00b so maybe I'm missing something.

When attempting to run through the workflow 1 an error message displayed when remotely restarting the services

cd src/myapp
git commit ...
ssh -i ~/.ssh/myapp.pem ubuntu@myapp.com:/var/myapp/update restart
# ssh: Could not resolve hostname myapp:/var/myapp/update: nodename nor servname provided, or not known

Changing the SSH command to the following worked for me.

cd src/myapp
git commit ...
git push origin master
ssh -i ~/.ssh/myapp.pem ubuntu@myapp '/var/performance/update restart' 
# some stats ...

I think adding a simple post commit hook to execute the update restart on my local makes this brain dead simple.

Thanks so much for this excellent project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant