View Single Post
Posts: 196 | Thanked: 54 times | Joined on Jan 2010 @ UK
#76
The app is not auto started on bootup.

@Arto
you could try this

in /etc/event.d/

create file espeakcaller-daemon
Code:
console none

start on started hildon-desktop

exec /usr/bin/python /opt/espeakcaller/espeakcaller-boot.py
in /opt/espeakcaller/

create file espeakcaller-boot.py
Code:
#!/usr/bin/env python
# autostart espeakcaller-daemon on boot

daemonFile = '/opt/espeakcaller/espeakcaller-daemon.py'
pidFile = '/tmp/espeakcaller_pid.txt'

proc = subprocess.Popen("python2.5 " + daemonFile + " &", shell=True)
     
pdFile = open(pidFile, 'w+')
pdFile.write(str(proc.pid + 1))
pdFile.close()
 

The Following User Says Thank You to fred123 For This Useful Post: