Link to home
Create AccountLog in
Avatar of Sida Say
Sida SayFlag for Cambodia

asked on

LibreOffice headless service usually down on CentOS, how to keep it running?

I installed LibreOffice headless on my CentOS as document preview for Liferay portal. It listen on port 8100 but it usually disappear and need to restart in again with

#soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;" --nodefault --nofirststartwizard --nolockcheck --nologo --norestore --invisible &

Open in new window


Any method to keep in running?
SOLUTION
Avatar of noci
noci

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Sida Say

ASKER

Thank you all, but I want to know what no hub mean?
nohup means 'no hangup' - this means that the  started process will not exit when the terminal or session is exited/killed. If your process generates output on the screen, you should add a redirect to catch that output. At end of your command line add:

>> /path/output.log
Thank @Gerwin Jansen,