View Single Post
Posts: 76 | Thanked: 44 times | Joined on Apr 2011 @ India
#212
Originally Posted by Kossuth View Post
My powerbutton file had -rw-r--r-- permissions, and I chmodded it for testin to -rwxrwxrwx and timenow started working, so here it was permission error. I have rootsh already installed.
This worked like charm for me. Thanks for the solution, it was only the permission issue.


Originally Posted by qwazix View Post
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
Hi qwazix, thanks for your hardwork and quick support. Changing permission is working fine for me but do i still need to change timenow.conf as u said for some smoothness or something maybe?
 

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