ยง2024-11-01

This installer script will do

For example [08_install_haraka.sh](https://github.com/nodemailer/wildduck/blob/master/setup/08_install_haraka.sh

####### HARAKA #######

# clear previous install
if [ -f "/etc/systemd/system/haraka.service" ]
then
    $SYSTEMCTL_PATH stop haraka || true
    # || true part means that even if stopping the service fails 
    # (returns a non-zero exit status), the script will continue executing the next
    $SYSTEMCTL_PATH disable haraka || true
    rm -rf /etc/systemd/system/haraka.service
fi
rm -rf /var/opt/haraka-plugin-wildduck.git
rm -rf /opt/haraka

# fresh install
cd /var/opt
git clone --bare https://github.com/nodemailer/haraka-plugin-wildduck.git