View Single Post
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#208
wow! I got a bunch of supporting users

please set timenow.conf as follows:

Code:
start on started proximityd
stop on stopped hal
respawn
respawn limit 15 3

script
    sleep 10
    exec su user -c "run-standalone.sh /opt/timenowd/bin/timenowd"

end script
post-stop script
    # clean up
    killall timenowd
end script
and then reboot.

It works for me like that. If it works for other people too, I will push the change to extras-devel. I'm asking because apparently the boot procedure is different for each phone and no solution is universal.

if it fails please change the exec line to
Code:
exec su user -c "run-standalone.sh /opt/timenowd/bin/timenowd 2>/home/user/.timenow/timenow.log"
and post contents of timenow.log directly after boot
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla –– contactlaunch –– timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following 2 Users Say Thank You to qwazix For This Useful Post: