-
Notifications
You must be signed in to change notification settings - Fork 8
/
dist.conf
109 lines (89 loc) · 5.79 KB
/
dist.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
### décomenter les lignes pour votre distribution.
### pour debian 6,7,8 et ubuntu 12.04 a 13.10 ne décomenter
### rien saufe si vous voulez faire des testes
#DEPENDANCES=" lighttpd dnsmasq php5-cgi notification-daemon libnotify-bin sudo perl " # mageia 2
#DEPENDANCES=" lighttpd-mod_auth lighttpd dnsmasq php-cgi notification-daemon libnotify sudo perl " # mageia 3/4
#DEPENDANCES=" lighttpd-fastcgi lighttpd php-cli dnsmasq notification-daemon libnotify wget procps-ng sudo perl iptables-services " # fedora 19/20
#UIDMINUSER=500 # mageia 3/4
##################################################
########## services gérés par systemd ############
#CRONstart="systemctl start crond " # mageia 3/4 , fedora 19/20
#CRONstop="systemctl stop crond " # mageia 3/4 , fedora 19/20
#CRONrestart="systemctl restart crond " # mageia 3/4 , fedora 19/20
#LIGHTTPDstart="systemctl start lighttpd " # mageia 3/4 , fedora 19/20
#LIGHTTPDstop="systemctl stop lighttpd " # mageia 3/4 , fedora 19/20
#LIGHTTPDrestart="systemctl restart lighttpd " # mageia 3/4 , fedora 19/20
#DNSMASQstart="systemctl start dnsmasq " # mageia 3/4 , fedora 19/20
#DNSMASQstop="systemctl stop dnsmasq " # mageia 3/4 , fedora 19/20
#DNSMASQrestart="systemctl restart dnsmasq " # mageia 3/4 , fedora 19/20
#NWMANAGERstop="systemctl stop NetworkManager " # mageia 3/4 , fedora 19/20
#NWMANAGERstart="systemctl start NetworkManager " # mageia 3/4 , fedora 19/20
#NWMANAGERrestart="systemctl restart NetworkManager " # mageia 3/4 , fedora 19/20
#IPTABLESsave="service iptables save" # Red Had , # fedora 19/20
#SQUIDrestart="service squid3 restart"
#SQUIDstop="service squid3 stop"
##################################################
####### Activation des services au demarage #####
#ENCRON="systemctl enable crond " # mageia 3/4 , fedora 19/20
#ENLIGHTTPD="systemctl enable lighttpd " # mageia 3/4 , fedora 19/20
#ENDNSMASQ="systemctl enable dnsmasq " # mageia 3/4 , fedora 19/20
#ENNWMANAGER="systemctl enable NetworkManager " # mageia 3/4 , fedora 19/20
#ENIPTABLESSAVE="systemctl enable iptables.service" # fedora 19/20
#ENSQUID="systemctl enable squid3 " # mageia 3/4 , fedora 19/20
#DISSQUID="systemctl enable squid3 " # mageia 3/4 , fedora 19/20
#################################################
######## emplacement du fichier pid de lighttpd #####
#LIGHTTPpidfile="/run/lighttpd/lighttpd.pid" # mageia 3/4
#LIGHTTPpidfile="/var/run/lighttpd.pid" # debian 6 7 et testing, mageia 2 , ubuntu 12.04 a 13.10 mageia 2 , fedora 19/20
###############################################
########## DESACTIVATION SElinux ##############
#/usr/sbin/setenforce 0 #fedora 19/20
#sed -i "s?^SELINUX=.*?SELINUX=disabled?g" /etc/selinux/config #fedora 19/20
###############################################
####### Ne pas toucher que si on sait pas ce qu'on fait !!!! ############
### si on veut changer un peut la langue en attendent mieux
#DAYS=" lundi mardi mercredi jeudi vendredi samedi dimanche "
#DEPENDANCES=" lighttpd php5-cgi dnsmasq notification-daemon libnotify-bin resolvconf sudo perl " # debian 6 7 et testing , ubuntu 12.04 a 13.10
#CMDSERVICE="service " # debian 6 7 et testing , ubuntu 12.04 a 13.10 mageia 2
#CRONstart="$CMDSERVICE\cron start " # debian 6 7 et testing , ubuntu 12.04 a 13.10 mageia 2
#CRONstop="$CMDSERVICE\cron stop " # debian 6 7 et testing , ubuntu 12.04 a 13.10 mageia 2
#CRONrestart="$CMDSERVICE\cron restart " # debian 6 7 et testing , ubuntu 12.04 a 13.10 mageia 2
#LIGHTTPDstart="$CMDSERVICE\lighttpd start " # debian 6 7 et testing , ubuntu 12.04 a 13.10 mageia 2
#LIGHTTPDstop="$CMDSERVICE\lighttpd stop " # debian 6 7 et testing , ubuntu 12.04 a 13.10 mageia 2
#LIGHTTPDrestart="$CMDSERVICE\lighttpd restart " # debian 6 7 et testing , ubuntu 12.04 a 13.10 mageia 2
#DNSMASQstart="$CMDSERVICE\dnsmasq start " # debian 6 7 et testing , ubuntu 12.04 a 13.10 mageia 2
#DNSMASQstop="$CMDSERVICE\dnsmasq stop " # debian 6 7 et testing , ubuntu 12.04 a 13.10 mageia 2
#DNSMASQrestart="$CMDSERVICE\dnsmasq restart " # debian 6 7 et testing , ubuntu 12.04 a 13.10 mageia 2
#NWMANAGERstop="$CMDSERVICE\network-manager stop" # debian 6 7 et testing , ubuntu 12.04 a 13.10 mageia 2
#NWMANAGERstart="$CMDSERVICE\network-manager start" # debian 6 7 et testing , ubuntu 12.04 a 13.10 mageia 2
#NWMANAGERrestart="$CMDSERVICE\network-manager restart" # debian 6 7 et testing , ubuntu 12.04 a 13.10 mageia 2
#LOWRAM=${LOWRAM:=1} # decomanter si vous avais peut de ram
# , et que le sriptes plante durant le processuce de migration de la blackliste de toulouse
#FILE_tmpSizeMax=${FILE_tmpSizeMax:="128M"} # 70 Min, Recomend 128M
#DNSMASQCONF="/etc/dnsmasq.conf"
#MAINCONFHTTPD="/etc/lighttpd/lighttpd.conf"
#DIRCONFENABLEDHTTPD="/etc/lighttpd/conf-enabled"
#CTPARENTALCONFHTTPD="$DIRCONFENABLEDHTTPD/10-CTparental.conf"
#RESOLVCONFMAIN="/etc/resolvconf"
#RESOLVDNSMASQ="$RESOLVCONFMAIN/run/interface/lo.dnsmasq"
#RESOLVCONFORDER="$RESOLVCONFMAIN/interface-order"
#DIRHTML="/var/www/CTparental"
#DIRadminHTML="/var/www/CTadmin"
#PASSWORDFILEHTTPD="/etc/lighttpd/lighttpd-htdigest.user"
#REALMADMINHTTPD="interface admin"
#LOGONDDIR="/etc/X11/Xsession.d/"
#CMDINSTALL="yum install "
#CMDREMOVE="yum remove "
#CMDINSTALL="urpmi -a --auto "
#CMDREMOVE="urpme --auto "
#CMDINSTALL="apt-get -y --force-yes install "
#CMDREMOVE="apt-get -y --force-yes remove --purge "
#CONFLICTS=" firewalld " # fedora 19/20
## DEPRECATED
################## Xsession.d ####################
#NOXSESSIOND=1 # mageia 3/4 , fedora 19/20
#STARTUPKDM="/etc/X11/kde/kdm/Xsetup" # mageia 3/4
#STARTUPGDM="/etc/X11/gdm/PostLogin/Default" # mageia 3/4
#CONFLIGHTDM="/etc/lightdm/lightdm.conf" # mageia 3/4
##################################################
#NORESOLVCONF=1 # fedora 19/20