From 9d6a782e64028fa857a1aa0bd04f46e7b39c2a37 Mon Sep 17 00:00:00 2001 From: cubic Date: Mon, 14 Mar 2022 11:49:02 +0800 Subject: [PATCH] feat(Update Script): add send mail patch --- misc/update.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/misc/update.sh b/misc/update.sh index df39b40..57dafd1 100644 --- a/misc/update.sh +++ b/misc/update.sh @@ -10,7 +10,7 @@ service codefever stop service php-fpm stop service nginx stop -yum install -y crontabs +yum install -y crontabs sendmail mailx service crond stop echo 'service stopped!' @@ -43,6 +43,10 @@ service codefever start service php-fpm start service nginx start service crond start +service sendmail start + +chkconfig crond on +chkconfig sendmail on echo 'services started!'