Quantcast
Channel: MultiTech Developer Resources » All Posts
Viewing all articles
Browse latest Browse all 7111

Reply To: Error while installing custom App.

$
0
0

Ajay,

In your manifest file you are missing a ‘”‘ at the end of the AppVersion key. That is why the version is UNKOWN in the error statement.

As for the use of the angel process, if you use the node-angel (which is a link to the angel binary, see code) you will need to be careful because a “/etc/init.d/node-red killstop will also kill your app. See do_killstop() in /etc/init.d/node-red.

admin@mtcdt:/etc/rc5.d# ls -l /sbin/node-angel                                                            
lrwxrwxrwx    1 admin    root            11 Apr 24 15:28 /sbin/node-angel -> /sbin/angel

On install (in the Install script) your app could install it’s own link to angel, and that could be used by your Start script to start your app under an angel process. That would restart your app if it died.

Jeff


Viewing all articles
Browse latest Browse all 7111

Trending Articles