Skip to content

discoverygarden/openoffice-init

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#OpenOffice Init Scripts

Introduction

Systemd, sysvinit scripts to start OpenOffice headless.

Requirements

This module requires OpenOffice/LibreOffice is installed and the apache user's home dir has been chown'd so apache is the owner.

Installation

Clone/unzip onto your server.

sysvinit

Copy the sysvinit/openoffice file into /etc/init.d

Ensure permissions are 755

To have the opeoffice start on system boot, run the following:

# UBUNTU 14 (or lower):
/usr/sbin/update-rc.d openoffice defaults 99 20
# REDHAT 6 (or lower):
sed -i "s|SOFFICE_USER=www-data|SOFFICE_USER=apache|" /etc/init.d/openoffice
chkconfig --add openoffice

To start the workers immediately:

/etc/init.d/openoffice start

systemd

Copy systemd/* files into /etc/systemd/system

Reload Daemon

systemctl daemon-reload

Enable on boot

systemctl enable openoffice.service

Status/start/stop

systemctl status openoffice.service
systemctl start openoffice.service
systemctl stop openoffice.service

Troubleshooting/Issues

Having problems or solved a problem? Contact discoverygarden.

Maintainers/Sponsors

Current maintainers:

Development

If you would like to contribute to this module, please check out our helpful Documentation for Developers info, Developers section on Islandora.ca and contact discoverygarden.

License

GPLv3

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%