I created file DataWatch.conf in directory /etc/init/apps for the app to lauch at startup, but the application does not autostart.
The file content is:
description "DataWatch demon startup script"
author "me@gmail.com"
stop on stopping xsession
console none
respawn
respawn limit 3 300
nice 2
normal exit 0
exec /usr/bin/aegis-exec -s -u user /opt/DataWatch/bin/DataWatch -background
Also tried creating a script:
#!/bin/sh
/opt/DataWatch/bin/DataWatch -background
in the directory "/etc/init.d"
This didn't work either. What could be the problem?
The files are created during the installation.
Please, help!

Reply With Quote

