通过主管运行soffice.bin

时间:2013-07-03 16:20:36

标签: java openoffice.org libreoffice supervisord

我的主管conf:

[program:libre]
user = myuser
directory = /user/home/directory
command = /usr/lib/libreoffice/program/soffice.bin "--accept=socket,host=127.0.0.1,port=9000,tcpNoDelay=1;urp;" --headless --nodefault --nofirststartwizard --nolockcheck --nologo --norestore
stdout_logfile= /var/log/libreoffice-headless.log
redirect_stderr = true
autostart = true

soffice.bin不会在用户“myuser”下启动。 这是错误日志:

terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'
terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException'

但如果我在“myuser”下的控制台中运行命令,它就会启动。

0 个答案:

没有答案