The Following User Says Thank You to Kossuth For This Useful Post: | ||
![]() |
2012-09-13
, 12:54
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#143
|
start on started proximityd stop on stopped hal #stop on stopped dbus respawn respawn limit 15 3 script sleep 2 exec su user -c "run-standalone.sh /opt/timenowd/bin/timenowd" end script post-stop script # clean up killall timenowd end script
![]() |
2012-09-13
, 15:39
|
Posts: 107 |
Thanked: 173 times |
Joined on Feb 2011
|
#144
|
I'm debugging this right now and I think the problem is that timenow starts before proximityd. So I modified the upstart job to look like this.
The fact that it happens to some people and not other is probably due to the different startup services of each setup.
respawn limit 15 3
![]() |
2012-09-13
, 16:08
|
Posts: 159 |
Thanked: 217 times |
Joined on Oct 2011
|
#145
|
![]() |
2012-09-14
, 08:10
|
Posts: 159 |
Thanked: 217 times |
Joined on Oct 2011
|
#146
|
![]() |
2012-09-14
, 09:23
|
Posts: 203 |
Thanked: 445 times |
Joined on Mar 2010
|
#147
|
![]() |
2012-09-14
, 10:47
|
Posts: 159 |
Thanked: 217 times |
Joined on Oct 2011
|
#148
|
![]() |
2012-09-17
, 06:24
|
Posts: 79 |
Thanked: 53 times |
Joined on Jul 2010
@ Ho Chi Minh, Viet Nam
|
#149
|
....Also, cantruchd, I will include a setting to change the polling frequency in the config file, and make the default @200ms to reduce power consumption a bit.
![]() |
2012-09-17
, 14:17
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#150
|
After that tried to install shortcutd, but no help. Then the same killing and purgin and reinstalling and now I cant get it to even work with the stop-killall-start-routine. I'm pretty sure it's my system and not timenow that has the problem, but cant get what it is. Btw, when I try to stop proximityd it says job not changed. Is this ok?
I also saw in the previous ps aux listing that I had 2 standalone.sh lines, is that ok?
Edit: got it working with the routine, remenbered that I had to start the proximityd.
Last edited by Kossuth; 2012-09-12 at 17:28.