Skip to content

Instantly share code, notes, and snippets.

@derchrisuk
Created July 2, 2012 18:22
Show Gist options
  • Save derchrisuk/3034727 to your computer and use it in GitHub Desktop.
Save derchrisuk/3034727 to your computer and use it in GitHub Desktop.
#!/bin/sh
#
# openfirectl Stops and starts the Openfire XMPP service.
#
# chkconfig: 2345 99 1
# description: Openfire is an XMPP server, which is a server that facilitates \
# XML based communication, such as chat.
# config: /opt/openfire/conf/openfire.xml
# config: /etc/sysconfig/openfire
# pidfile: /var/run/openfire.pid
#
# This script manages the openfire daemon process. This script should
# only be run as root and may double as an init script if desired. You
# can symlink it into your rc directories manually, or if you have
# chkconfig available, you can copy/symlink it into your init.d directory
# and chkconfig --add it. It's recommended to name it openfire instead of
# openfirectl in the init.d directory.
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment