foxcpp / maddy

✉️ Composable all-in-one mail server.
https://maddy.email
GNU General Public License v3.0
4.81k stars 238 forks source link

build: make "./build.sh install" reusable #686

Open oidq opened 4 months ago

oidq commented 4 months ago

Few days ago I learned the hard way, that running ./build.sh install on existing installation of maddy blindly overwrites the configuration. This commit alters the bahevior of build.sh to not blindly copy over existing maddy.conf and force the creation of the maddyctl symlink so that the script can be used to update current installation.