docker-compose.yml de telegrafssh -t admin@web-<region>-sinp 'cd docker; exec bash -l' docker-compose down ; docker-compose up -d ssh admin@web-<region>-sinp sudo -isystemctl edit geonature.service[Unit] StartLimitIntervalSec=6min StartLimitBurst=5 [Service] ExecStart= ExecStart=/home/geonat/www/geonature/backend/venv/bin/gunicorn geonature:create_app() \ --statsd-host "localhost:8125" \ --statsd-prefix "geonature" \ --name "${GUNICORN_PROC_NAME}" --workers "${GUNICORN_NUM_WORKERS}" \ --bind "${GUNICORN_HOST}:${GUNICORN_PORT}" --timeout="${GUNICORN_TIMEOUT}" Restart=on-failure RestartSec=1min
systemctl daemon-reloadsystemctl restart geonature.servicegeonature-atlas.service : [Unit] StartLimitIntervalSec=6min StartLimitBurst=5 [Service] ExecStart= ExecStart=/home/geonat/www/atlas/venv/bin/gunicorn atlas.wsgi:app \ --statsd-host "localhost:8125" \ --statsd-prefix "atlas" \ --name "${GUNICORN_PROC_NAME}" --workers "${GUNICORN_NUM_WORKERS}" \ --bind "${GUNICORN_HOST}:${GUNICORN_PORT}" --timeout="${GUNICORN_TIMEOUT}" Restart=on-failure RestartSec=1min
taxhub.service : [Unit] StartLimitIntervalSec=6min StartLimitBurst=5 [Service] ExecStart= ExecStart=/home/geonat/www/taxhub/venv/bin/gunicorn apptax.app:create_app() \ --statsd-host "localhost:8125" \ --statsd-prefix "taxhub" \ --name "${GUNICORN_PROC_NAME}" --workers "${GUNICORN_NUM_WORKERS}" \ --bind "${GUNICORN_HOST}:${GUNICORN_PORT}" --timeout="${GUNICORN_TIMEOUT}" Restart=on-failure RestartSec=1min
usershub.service : [Unit] StartLimitIntervalSec=6min StartLimitBurst=5 [Service] ExecStart= ExecStart=/home/geonat/www/usershub/venv/bin/gunicorn app.app:create_app() \ --statsd-host "localhost:8125" \ --statsd-prefix "usershub" \ --name "${GUNICORN_PROC_NAME}" --workers "${GUNICORN_NUM_WORKERS}" \ --bind "${GUNICORN_HOST}:${GUNICORN_PORT}" --timeout="${GUNICORN_TIMEOUT}" Restart=on-failure RestartSec=1min
ssh admin@bkp-<region>-sinp docker exec -it monitor-influxdb influx v1 shell docker exec -it monitor-influxdb influx USE "telegraf" SHOW MEASUREMENTS