Subversion Repositories ALCASAR

Rev

Rev 2812 | Rev 2814 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2812 Rev 2813
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2812 2020-04-20 22:21:04Z rexy $
2
#  $Id: alcasar.sh 2813 2020-04-26 21:26:32Z rexy $
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
#  team@alcasar.net
7
#  team@alcasar.net
Line 855... Line 855...
855
	[ -d /var/log/lighttpd ] || mkdir /var/log/lighttpd
855
	[ -d /var/log/lighttpd ] || mkdir /var/log/lighttpd
856
	[ -e /var/log/lighttpd/access.log ] || touch /var/log/lighttpd/access.log
856
	[ -e /var/log/lighttpd/access.log ] || touch /var/log/lighttpd/access.log
857
	[ -e /var/log/lighttpd/error.log ] || touch /var/log/lighttpd/error.log
857
	[ -e /var/log/lighttpd/error.log ] || touch /var/log/lighttpd/error.log
858
 
858
 
859
	chown -R apache:apache /var/log/lighttpd
859
	chown -R apache:apache /var/log/lighttpd
860
#	/usr/bin/systemctl start lighttpd
-
 
861
#	/usr/bin/systemctl start php-fpm
-
 
862
 
860
 
863
# Creation of the first account (in 'admin' profile)
861
# Creation of the first account (in 'admin' profile)
864
	if [ "$mode" = "install" ]
862
	if [ "$mode" = "install" ]
865
	then
863
	then
866
		header_install
864
		header_install