Skip to content

Commit e1af40e

Browse files
authored
Debian fix for spamassassin when it's not in startup list
Fix for https://bugs.vestacp.com/issues/346
1 parent 2057b3e commit e1af40e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/vst-install-debian.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,6 +1055,9 @@ if [ "$spamd" = 'yes' ]; then
10551055
sed -i "s/ENABLED=0/ENABLED=1/" /etc/default/spamassassin
10561056
service spamassassin start
10571057
check_result $? "spamassassin start failed"
1058+
if [[ $(systemctl list-unit-files | grep spamassassin) =~ "disabled" ]]; then
1059+
systemctl enable spamassassin
1060+
fi
10581061
fi
10591062

10601063

0 commit comments

Comments
 (0)