mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 05:14:10 -07:00
commit
73177fe22c
4 changed files with 7 additions and 5 deletions
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
# Internal variables
|
||||
HOMEDIR='/home'
|
||||
BACKUP='/backup'
|
||||
|
@ -448,6 +449,7 @@ sync_cron_jobs() {
|
|||
rm -f $crontab
|
||||
if [ "$CRON_REPORTS" = 'yes' ]; then
|
||||
echo "MAILTO=$CONTACT" > $crontab
|
||||
echo 'CONTENT_TYPE="text/plain; charset=utf-8"' >> $crontab
|
||||
fi
|
||||
while read line; do
|
||||
eval $line
|
||||
|
|
|
@ -28,7 +28,7 @@ if [ "$release" -eq 8 ]; then
|
|||
mysql-client postgresql postgresql-contrib phppgadmin phpMyAdmin mc
|
||||
flex whois rssh git idn zip sudo bc ftp lsof ntpdate rrdtool quota
|
||||
e2fslibs bsdutils e2fsprogs curl imagemagick fail2ban dnsutils
|
||||
bsdmainutils cron vesta vesta-nginx vesta-php"
|
||||
bsdmainutils cron vesta vesta-nginx vesta-php expect"
|
||||
else
|
||||
software="nginx apache2 apache2-utils apache2.2-common
|
||||
apache2-suexec-custom libapache2-mod-ruid2 libapache2-mod-rpaf
|
||||
|
@ -40,7 +40,7 @@ else
|
|||
mysql-client postgresql postgresql-contrib phppgadmin phpMyAdmin mc
|
||||
flex whois rssh git idn zip sudo bc ftp lsof ntpdate rrdtool quota
|
||||
e2fslibs bsdutils e2fsprogs curl imagemagick fail2ban dnsutils
|
||||
bsdmainutils cron vesta vesta-nginx vesta-php"
|
||||
bsdmainutils cron vesta vesta-nginx vesta-php expect"
|
||||
fi
|
||||
|
||||
# Defining help function
|
||||
|
|
|
@ -26,7 +26,7 @@ if [ "$release" -eq 7 ]; then
|
|||
postgresql postgresql-server postgresql-contrib phpPgAdmin e2fsprogs
|
||||
openssh-clients ImageMagick curl mc screen ftp zip unzip flex sqlite pcre
|
||||
sudo bc jwhois mailx lsof tar telnet rrdtool net-tools ntp GeoIP freetype
|
||||
fail2ban rsyslog iptables-services which vesta vesta-nginx vesta-php"
|
||||
fail2ban rsyslog iptables-services which vesta vesta-nginx vesta-php expect"
|
||||
else
|
||||
software="nginx httpd mod_ssl mod_ruid2 mod_fcgid mod_extract_forwarded
|
||||
php php-common php-cli php-bcmath php-gd php-imap php-mbstring php-mcrypt
|
||||
|
@ -36,7 +36,7 @@ else
|
|||
postgresql-server postgresql-contrib phpPgAdmin e2fsprogs openssh-clients
|
||||
ImageMagick curl mc screen ftp zip unzip flex sqlite pcre sudo bc jwhois
|
||||
mailx lsof tar telnet rrdtool net-tools ntp GeoIP freetype fail2ban
|
||||
which vesta vesta-nginx vesta-php"
|
||||
which vesta vesta-nginx vesta-php expect"
|
||||
fi
|
||||
|
||||
# Defining help function
|
||||
|
|
|
@ -26,7 +26,7 @@ software="nginx apache2 apache2-utils apache2.2-common
|
|||
mysql-client postgresql postgresql-contrib phppgadmin phpMyAdmin mc
|
||||
flex whois rssh git idn zip sudo bc ftp lsof ntpdate rrdtool quota
|
||||
e2fslibs bsdutils e2fsprogs curl imagemagick fail2ban dnsutils
|
||||
bsdmainutils cron vesta vesta-nginx vesta-php"
|
||||
bsdmainutils cron vesta vesta-nginx vesta-php expect"
|
||||
|
||||
# Defining help function
|
||||
help() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue