On CentOS7 openfire 3.10.2 does not run as a service

Please let me know how to make the openfire shall run automatically in CentOS7.

I am unable to run as a service automatically.

But manually it works using /opt/openfire/bin/openfirectl start .

After installation, “systemctl start openfire” does not work and it is not getting enabled using “systemctl enable openfire”

[root@openfire opt]# cat /etc/systemd/system/openfire.service

[Unit]

Description=openfire Service

After=network.target

[Service]

Type=simple

User=openfire

ExecStart=/opt/openfire/bin/openfirectl start ; <------ But this works manually perfectly

Restart=on-abort

[Install]

WantedBy=multi-user.target

Please help how to configure openfire as a service.

-Regards,

arun