On 03.07.2015 11:33, Ita wrote:
My problem came with running init-script as it's not a Windows script.

I have not used docrenderplugin. From looking at the script it seems you can just start LibreOffice directly instead of using the script:

"C:\Program Files (x86)\LibreOffice 4\program\soffice.exe" --headless --nologo --nofirststartwizard --nodefault "--accept=socket,host=localhost,port=8100;urp;StarOffice.ComponentContext"

This starts a LibreOffice "in the background". I think that should be enough to get the plugin working.

After peering at it for a while I decided that I could achieve the same
thing by running LibreOffice as a Windows Service. Unfortunately, I
haven't been able to discover a way of doing this, even with the help of
Google.
Since it looks like LibreOffice can be run as a service on Unix I can't
see why it wouldn't be possible on Windows, but I'm in new territory
here and would love some help from anyone who's done this or who knows
how to go about it. Maybe my approach is totally wrong and I should be
going about it another way?

But the above is not as a "real" Windows Service. If you need that, you can apparently just wrap the above command in a generic Windows Service wrapper like srvany.exe from the Windows Server 2003 Resource Kit:

http://www.tonido.com/support/display/cloud/Running+Openoffice+as+a+service+in+Windows

(This page uses OpenOffice but I assume the same also works for LibreOffice.)

You could maybe also try nssm (instead of srvany.exe):

http://nssm.cc/

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to