Ajout de la weathermap : cron, sites nginx et fichier de conf dans /etc/weathermap pour fy
This commit is contained in:
parent
73ab4ff3fe
commit
56624dae40
7 changed files with 287 additions and 0 deletions
3
Cfg/etc/cron.d/weathermap/info.xml
Normal file
3
Cfg/etc/cron.d/weathermap/info.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<FileInfo>
|
||||
<Info owner='root' group='root' mode='0644'/>
|
||||
</FileInfo>
|
4
Cfg/etc/cron.d/weathermap/weathermap
Normal file
4
Cfg/etc/cron.d/weathermap/weathermap
Normal file
|
@ -0,0 +1,4 @@
|
|||
# !! Beware: fichier géré par bcgfg2 !!
|
||||
# (module Cfg) Regénère la weathermap chaque minute
|
||||
|
||||
*/1 * * * * root /var/lib/weathermap/weathermap -o /var/www/weathermap/weathermap.svg --config /etc/weathermap/weathermap.xml
|
3
Cfg/etc/nginx/sites-available/weathermap/info.xml
Normal file
3
Cfg/etc/nginx/sites-available/weathermap/info.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<FileInfo>
|
||||
<Info owner='root' group='root' mode='0644'/>
|
||||
</FileInfo>
|
12
Cfg/etc/nginx/sites-available/weathermap/weathermap
Normal file
12
Cfg/etc/nginx/sites-available/weathermap/weathermap
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Fichier géré par bcfg2
|
||||
# Sites basique pour la weathermap
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name weathermap.crans.org;
|
||||
access_log /var/log/nginx/weathermap.log combined;
|
||||
error_log /var/log/nginx/weathermap_error.log;
|
||||
root /var/www/weathermap/;
|
||||
index weathermap.svg;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue