I am trying to start GUI application with upstart script on CentOS. I have test script located /etc/init/ folder.
start on desktop-session-start
stop on desktop-shutdown
exec /.1/Projects/UpstartTest/start.sh &
start.sh scripts is running binary files for GUI application.
After reboot my computer. When I typed:
[root@mg-CentOS ~]# initctl status test
So my upstart is not runnig. When i type
initctl start test
manually it works fine without any problem.
How can I run this upstart script after user login (desktop started) ? I am trying to find detailed documents for CentOS for upstart but there is no.