Inhaltsverzeichnis

Konfiguration

Dienste

Name Zweck ffmd-repo Ort inst. Version autostart sonstiges
alfred mesh-metadaten alfred alfred mesh-metadaten alfred
alfred-json json aus alfred erstellen alfred-json 0.2-5-gad51202
batman-adv mesh-protokoll -
fastd mesh-protokoll - v17
ffmap-backend backend zu Map ffmap-backend /opt/ffmap-backend/
ffmap-d3 map ffmap-d3 /var/www/map/ anpassen der neuen Version (grüner/blauer Punkt)
/var/www/map/config.json Variable: current-firmware
ffmap-stat-panel Statistik für Panel im Space - /opt/ffmap-stat-panel
/var/www/map
ffffng Registerformular ffffng /home/fastdform/opt/

Reihenfolge der Dienste

geprüft am 09.06.2020

Start der notwendigen Dienste nach reboot

  #!/bin/sh   
  service openvpn start   
  sleep 5 
  service fastd start 
  sleep 5
  #service tinc start 
  #sleep 5
  #service bird start
  #service bird6 start
  service isc-dhcp-server start   
  service pdns start
  service unbound start
  service radvd start 
  service alfred start
  service batadv-vis start

WEB1: prometheus (Statistik-Datenbank)

global:
  scrape_interval: 1m
  scrape_timeout: 10s
  evaluation_interval: 1m
scrape_configs:
- job_name: prometheus
  honor_timestamps: true
  scrape_interval: 1m
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - localhost:9090
- job_name: hopglass
  honor_timestamps: true
  scrape_interval: 1m
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - web1.md.freifunk.net:4000
  [Unit]
  Description=Prometheus service
  After=network.target

  [Service]
  User=prometheus
  Group=nogroup
  ExecStart=/usr/sbin/prometheus  -config.file /etc/prometheus/prometheus.yml -storage.local.path /var/lib/prometheus/data -web.console.templates /etc/prometheus/consoles -web.console.libraries /etc/prometheus/console_libraries -storage.local.retention 760h0m0s
  ExecReload=/bin/kill -HUP $MAINPID
  Restart=always

  [Install]
  WantedBy=multi-user.target