Ensure madmail starts after initial admin setup reboot, its name was changed

This commit is contained in:
Ana Custura 2026-03-31 15:20:48 +01:00
parent 1b7b0a5bc8
commit 85719b2ca6

View file

@ -157,7 +157,7 @@ def check_settings(raspap_installed: bool):
if s == "enable_access_point" and raspap_installed: if s == "enable_access_point" and raspap_installed:
needs_restart = change_service_status("enable_access_point", "raspapd") or needs_restart needs_restart = change_service_status("enable_access_point", "raspapd") or needs_restart
if s == "enable_deltachat": if s == "enable_deltachat":
needs_restart = change_service_status("enable_deltachat", "maddy") or needs_restart needs_restart = change_service_status("enable_deltachat", "madmail") or needs_restart
if s == "butterbox_hostname": if s == "butterbox_hostname":
# change in /etc/hostname # change in /etc/hostname
print("Writing new hostname to /etc/hostname") print("Writing new hostname to /etc/hostname")