Tjs bugfixes pour compliants
This commit is contained in:
parent
35817cdb62
commit
51482b5240
|
@ -201,7 +201,7 @@ EOF
|
|||
echo "Creating alternc account"
|
||||
adduser --quiet --system --uid 342 --home $ALTERNC_HTML --shell /bin/false --ingroup adm alternc
|
||||
fi
|
||||
chown alternc /var/alternc
|
||||
chown alternc "$ALTERNC_USER_HOME"
|
||||
if [ -r ~root/.ssh/id_dsa.pub ]; then
|
||||
key=`cat ~root/.ssh/id_dsa.pub`
|
||||
if ! grep -q "$key" $ALTERNC_USER_HOME/.ssh/authorized_keys ; then
|
||||
|
@ -251,7 +251,7 @@ EOF
|
|||
touch /var/run/alternc/refresh_slave
|
||||
/usr/lib/alternc/slave_dns
|
||||
# Apache will not start without this file
|
||||
touch /var/alternc/apache-vhost/vhosts_all.conf
|
||||
touch /var/lib/alternc/apache-vhost/vhosts_all.conf
|
||||
|
||||
#sudo stuff allowing alterncpanel to use quota
|
||||
if [ -d /etc/sudoers.d ]; then
|
||||
|
|
|
@ -67,9 +67,6 @@ install: build
|
|||
chown -R www-data:www-data debian/alternc/var/log/alternc debian/alternc/var/alternc/tmp
|
||||
chmod a+x debian/alternc/usr/share/alternc/install/alternc.install debian/alternc/usr/share/alternc/install/dopo.sh debian/alternc/usr/share/alternc/install/mysql.sh debian/alternc/usr/share/alternc/install/newone.php debian/alternc/usr/share/alternc/install/reset_root.php debian/alternc/usr/share/alternc/install/upgrade_check.sh debian/alternc/usr/share/alternc/install/upgrades/*.php debian/alternc/usr/share/alternc/install/upgrades/*.sh
|
||||
|
||||
#log directory
|
||||
mkdir -p debian/alternc/var/alternc/logs
|
||||
chown 1999:1999 debian/alternc/var/alternc/logs
|
||||
mkdir -p debian/alternc/var/run/alternc/
|
||||
chown 1999:1999 debian/alternc/var/run/alternc/
|
||||
|
||||
|
|
|
@ -70,4 +70,4 @@ ScriptAlias /cgi-bin/ /var/alternc/cgi-bin/
|
|||
</VirtualHost>
|
||||
|
||||
|
||||
Include /var/alternc/apache-vhost/vhosts_all.conf
|
||||
Include /var/lib/alternc/apache-vhost/vhosts_all.conf
|
||||
|
|
Loading…
Reference in New Issue