Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17763

Upstart, on socket close

$
0
0

Hello all, I have been reading up on upstart and socket-bridge. I don't have a need to to replace a daemon, more like monitor a process for exits.

Is there a way to have an event fired when a socket closes?

For example: A custom web admin interface running on node.js occasionally drops out(even using jesus/nodemon/forever), can I have the system run another script any time the socket used by this node process closes?

Any ideas greatly appreciated.

submitted by xandout
[link][2 comments]

Viewing all articles
Browse latest Browse all 17763

Trending Articles