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
When automatically starting a node script that uses promised-io during server start with an upstart script I'm getting the following error:
node_modules/promised-io/promise.js:242
throw error;
^
Error: Command failed:
at ChildProcess.exithandler (child_process.js:637:15)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Socket.<anonymous> (child_process.js:956:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:466:12)
When starting the script later manually, then it works just fine. So I assume that it gets loaded too early and a requirement is missing.
The start script has the following init info:
### BEGIN INIT INFO
# Provides: mail_listener
# Required-Start: $local_fs $remote_fs $network $syslog $named
# Required-Stop: $local_fs $remote_fs $network $syslog $named
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/stop MailListener built with nodeJS
### END INIT INFO
Is there anything else I need to do?
The text was updated successfully, but these errors were encountered:
When automatically starting a node script that uses promised-io during server start with an upstart script I'm getting the following error:
When starting the script later manually, then it works just fine. So I assume that it gets loaded too early and a requirement is missing.
The start script has the following init info:
Is there anything else I need to do?
The text was updated successfully, but these errors were encountered: