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"
stop on stopping xsession
respawn limit 3 300
normal exit 0
exec /usr/bin/aegis-exec -s -u user /opt/DataWatch/bin/DataWatch -background
Also tried creating a script:
in the directory "/etc/init.d"
This didn't work either. What could be the problem?
The files are created during the installation.