[Unit]
Description=Openfire XMPP Server

[Service]
Type=forking
User=openfire
Group=openfire
Environment=JAVA_HOME=/opt/jdk
ExecStart=/opt/openfire/bin/openfire start

[Install]
WantedBy=multi-user.target