NoOneYouKnow wrote:
rm -f /lib/systemd/system/iredapd.service
cp /opt/iredapd/rc_scripts/iredapd.service /lib/systemd/system
rm -f /etc/systemd/system/multi-user.target.wants/iredapd.service
rm -f /etc/systemd/system/iredapd.service
systemctl enable iredapd
This is exactly how/what iRedMail does to enable iredapd service.