You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@symbleBackend src]# forever list
info: Running action: list
info: No forever processes running
I'm running Capistrano and SSH from the same machine, as the same user, with the same private key.
What reason could there be for this? Surely Capistrano just opens an SSH connection and runs the commands? If so, what difference is there between me using SSH manually and me piping it through Capistrano.
The text was updated successfully, but these errors were encountered:
@johnhamelink it will be related to the presence of a "pty" or not. Esentially when you log into the machine with SSH two things happen that don't happen with capistrano:
a) you get a "PTY" (this normally indicates to programs that there's an interactive user from whom they could request input)
b) your "dotfiles" are evaluated.
These two things don't happen via capistrano. It can be configured to run with a PTY, but that is ill advised.
Hi there,
I'm writing a build script for my node.js application. The node.js instance is governed with forever. From SSH, if I run:
then run
I get
However, if I use capistrano, the following happens:
then run (from a separate task)
I get
[root@symbleBackend src]# forever list info: Running action: list info: No forever processes running
I'm running Capistrano and SSH from the same machine, as the same user, with the same private key.
What reason could there be for this? Surely Capistrano just opens an SSH connection and runs the commands? If so, what difference is there between me using SSH manually and me piping it through Capistrano.
The text was updated successfully, but these errors were encountered: