mspieth / rssdler

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

/lib/init/vars.sh is not found #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I copied the rssdler.sh file to /etc/init.d/rssdler
2. Edited the configuration variables in the file and tried to run it

What is the expected output? What do you see instead?
I received this error when running 'sudo /etc/init.d/rssdler start'
/etc/init.d/rssdler: line 51: /lib/init/vars.sh: No such file or directory

What version of the product are you using? On what operating system?
rssdler 0.3.4 on Gentoo

Please provide any additional information below.
I'm on a 64 bit OS so /lib is /lib64 for me. I checked inside /lib64 and
did not see an init folder or a vars.sh file.

Original issue reported on code.google.com by rko...@gmail.com on 22 Jan 2008 at 6:54

GoogleCodeExporter commented 8 years ago
At some point, I will try to make a more general init script that will 
hopefully work
on many platforms. However, as noted in the instructions, the script assumes a 
debian
based distribution, which Gentoo is not. I don't have access to a Gentoo 
machine, so
I'm not too sure the best way to do this. Some of the changes in 0.3.5alpha 
(probably
will be released as 0.4.0) should make startup scripts easier to make.

Original comment by lostnihi...@gmail.com on 22 Jan 2008 at 8:01

GoogleCodeExporter commented 8 years ago
ok, the rssdler.sh in svn should work with /installed/ version of rssdler quite
easily, I think. The variables can still be edited to avoid installation. That 
is
left as an exercise to the user. This script will only work for recent svn 
versions,
76 and up are recommended. Instructions for installation:

  * svn checkout http://rssdler.googlecode.com/svn/trunk/ rssdler
  * cd rssdler
  * python setup.py sdist
  * cd dist
  * tar xzf rssdler-x.y.z.tar.gz
  * cd rssdler-x.y.z
  * sudo python setup.py install
  * then follow the instructions in rssdler.sh in the current directory

Original comment by lostnihi...@gmail.com on 22 Jan 2008 at 10:06

GoogleCodeExporter commented 8 years ago
also, if you try this, let me know if it works.

Original comment by lostnihi...@gmail.com on 22 Jan 2008 at 10:07

GoogleCodeExporter commented 8 years ago
Thank you Lostnihilist, the SVN version of rssdler and the init script works 
for me.
Its really cool to see how much work you've put into rssdler in the last several
months to get it where it is now.

Can you tell me why it was necessary to run `python setup.py sdist` and then go
unpack the tar and install that version instead of running `sudo python setup.py
install` initially?

Original comment by rko...@gmail.com on 25 Jan 2008 at 7:38

GoogleCodeExporter commented 8 years ago
It might very well work. I've not tried it. I know a PKG-INFO file is 
generated, I
have no idea if that being missing will effect the install procedure.

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

GoogleCodeExporter commented 8 years ago

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