what i did was use 7zip to open the rpm file (archive manager should also work) and extracted just the init scripts (there should be 2 -> 1. in etc/init.d and 2. in tinyerp-server/bin or usr/bin folder).
Then changed those a bit for our needs(important: remember you have to give write permission for tinyerp user into /var/run for pid and the log path if you want to use logs). NOTE: I did this when latest rpm packages were not available. The best thing would be to check out tinyforge as Andrew suggested. -Deepak PS: It would be better if a LSB complaint script is maintained for cross distro compatibility. On 1/24/07, Andrew Latham <[EMAIL PROTECTED]> wrote:
The init.d scripts are in the source package and downloadable at tinyforge On 1/24/07, Harald <[EMAIL PROTECTED]> wrote: > > Hi, > > > Hi, > > I tryed to install the tinyerp-server-ch-4.0.0-1.noarch.rpm file but I get following error : > [EMAIL PROTECTED] rpm -ihv tinyerp-server-ch-4.0.0-1.noarch.rpm > error: tinyerp-server-ch-4.0.0-1.noarch.rpm: rpmReadSignature failed: region trailer: BAD, tag 15872 type 2047 offset 20480 count 4096 > error: tinyerp-server-ch-4.0.0-1.noarch.rpm cannot be installed > > I tryed to install it on CentOS 4 and Fedora 5 > Both uses french language. Maybe that is the problem ?! How can I fix it ? > I wanted to get the autostart script "/etc/rc.d/init/tinyerp-server" to > use it for my installation. > > I already install the TinyERP 4.0.2 on FD5 from the sourcecode and it work. > My traget is, that TinyERP server starts up automaticly with reboot of the server. > > At the moment I must open a Terminal, change user and then I can start TinyERP server. But I should not close this terminal session ! > > Any hints how I can startup automaticly TinyERP Server with bootup ? > > > Maybe somebody can help me > Thanks in advance > > > Bye > > Harry > > > > > > _______________________________________________ > Tinyerp-users mailing list > http://tiny.be/mailman/listinfo/tinyerp-users > -- --- Andrew Latham - AKA: LATHAMA (lay-th-ham-eh) [EMAIL PROTECTED] - [EMAIL PROTECTED] If any of the above are down we have bigger problems than my email! Hind sight is most always 20/20 or better. --- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
_______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
