mspieth / rssdler

Automatically exported from code.google.com/p/rssdler
4 stars 0 forks source link

Init process should gracefully exit if asked to stop when not running #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Make sure rssdler init process is stopped
2. Run `sudo /etc/init.d/rssdler stop`

What is the expected output? What do you see instead?
I expected to see something like:
 * WARNING:  rssdler has not yet been started.

Instead I received the following:
~ $ sudo /etc/init.d/rssdler stop 
Stopping RSSDler: rssdler
Traceback (most recent call last):
  File "/usr/bin/rssdler", line 8, in ?
    if __name__ == '__main__': rssdler._main(sys.argv)
  File "/usr/lib/python2.4/site-packages/rssdler.py", line 1975, in _main
    killDaemon(pid)
  File "/usr/lib/python2.4/site-packages/rssdler.py", line 1608, in killDaemon
    os.kill(pid,9)
OSError: [Errno 3] No such process
.

What version of the product are you using? On what operating system?
I am using revision 77 from svn on x86_64 Gentoo.

Original issue reported on code.google.com by rko...@gmail.com on 25 Jan 2008 at 7:03

GoogleCodeExporter commented 8 years ago
rssdler.sh in r78 should fix this. report back if there is a problem

Original comment by lostnihi...@gmail.com on 25 Jan 2008 at 8:17

GoogleCodeExporter commented 8 years ago
confirmed: its fixed

Original comment by rko...@gmail.com on 25 Jan 2008 at 9:19

GoogleCodeExporter commented 8 years ago

Original comment by lostnihi...@gmail.com on 26 Jan 2008 at 5:53

GoogleCodeExporter commented 8 years ago

Original comment by lostnihi...@gmail.com on 26 Jan 2008 at 5:56