I'm trying to setup correctly a headless libreoffice/openoffice server on a debian jessie. I created a script named /etc/systemd/system/openoffice.service with the following content
[Unit]
Description=OpenOffice service
After=syslog.target
[Service]
ExecStart=/usr/bin/soffice '--accept=socket,host=localhost,port=8101;urp;StarOffice.ServiceManager' --headless --nofirststartwizard --nologo
Restart=always
KillSignal=SIGQUIT
Type=notify
StandardError=syslog
NotifyAccess=all
User=www-data
[Install]
WantedBy=multi-user.target
And I enabled it via:
systemctl enable openoffice.service
I'm in a situation that is only partially working:
it correctly starts on boot
if queried status
systemctl status openoffice.service
it clams it is still activatingIf I try to start it it just hangs
I haven't been able to find a working example, I'd also like to understand how to create the debian /etc/init.d script that uses systems...