Ajout de la weathermap : cron, sites nginx et fichier de conf dans /etc/weathermap pour fy

This commit is contained in:
Gabriel Detraz 2015-07-29 16:28:12 +02:00
parent 73ab4ff3fe
commit 56624dae40
7 changed files with 287 additions and 0 deletions

View file

@ -0,0 +1,3 @@
<FileInfo>
<Info owner='root' group='root' mode='0644'/>
</FileInfo>

View 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

View file

@ -0,0 +1,3 @@
<FileInfo>
<Info owner='root' group='root' mode='0644'/>
</FileInfo>

View 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;
}