mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 22:04:00 -07:00
Update vst-install-rhel.sh
Not entirely sure what this function is for but it's broken in the current installer. This fixes it. However, on my Centos 7 Install, spamassassin creates it's own /var/lib/spamassassin. So I'm not sure why the script has to make that directory when the yum package manager should take care of that on it's own.
This commit is contained in:
parent
0d85c88d18
commit
b416ed2201
1 changed files with 1 additions and 3 deletions
|
@ -1177,9 +1177,7 @@ if [ "$spamd" = 'yes' ]; then
|
||||||
service spamassassin start
|
service spamassassin start
|
||||||
check_result $? "spamassassin start failed"
|
check_result $? "spamassassin start failed"
|
||||||
if [ "$release" -ge '7' ]; then
|
if [ "$release" -ge '7' ]; then
|
||||||
groupadd -g 1001 spamd
|
useradd spamd -s /sbin/nologin -d /var/lib/spamassassin
|
||||||
useradd -u 1001 -g spamd -s /sbin/nologin -d \
|
|
||||||
/var/lib/spamassassin spamd
|
|
||||||
mkdir /var/lib/spamassassin
|
mkdir /var/lib/spamassassin
|
||||||
chown spamd:spamd /var/lib/spamassassin
|
chown spamd:spamd /var/lib/spamassassin
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue