Commit 289998d7 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

[JM-1249] Add openfire group if it doesn't currently exist.


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9784 b35dd754-fafc-0310-a699-88a17e54d16e
parent 324e2f85
...@@ -26,6 +26,9 @@ case "$1" in ...@@ -26,6 +26,9 @@ case "$1" in
--home /var/lib/openfire \ --home /var/lib/openfire \
--gecos "Openfire XMPP server" --group openfire --gecos "Openfire XMPP server" --group openfire
fi fi
if ! getent group openfire >/dev/null; then
adduser --system openfire
fi
mkdir -p /var/log/openfire mkdir -p /var/log/openfire
mkdir -p /var/lib/openfire/embedded-db mkdir -p /var/lib/openfire/embedded-db
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment