mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
Run fix ssl directive only on Deb9 and Deb10
This commit is contained in:
parent
bf4eb9aa4b
commit
fd49534c2e
1 changed files with 8 additions and 7 deletions
|
@ -15,11 +15,12 @@ if [ "$release" -eq 9 ] || [ "$release" -eq 10 ]; then
|
|||
sed -i "s|ssl *on;|#ssl_on;|g" $FILE
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
for user in $(grep '@' /etc/passwd |cut -f1 -d:); do
|
||||
if [ ! -f "/usr/local/vesta/data/users/$user/user.conf" ]; then
|
||||
continue;
|
||||
fi
|
||||
v-rebuild-web-domains $user 'no'
|
||||
done
|
||||
for user in $(grep '@' /etc/passwd |cut -f1 -d:); do
|
||||
if [ ! -f "/usr/local/vesta/data/users/$user/user.conf" ]; then
|
||||
continue;
|
||||
fi
|
||||
v-rebuild-web-domains $user 'no'
|
||||
done
|
||||
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue