25 lines
537 B
Desktop File
25 lines
537 B
Desktop File
[Unit]
|
|
Description=BIRD Exporter for Prometheus
|
|
Documentation=https://git.ipng.ch/ipng/bird-exporter
|
|
After=network.target bird.service bird6.service
|
|
Wants=bird.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
EnvironmentFile=-/etc/default/bird-exporter
|
|
User=${BIRD_RUN_USER:-bird}
|
|
Group=${BIRD_RUN_GROUP:-bird}
|
|
ExecStart=/usr/bin/bird-exporter $BIRD_EXPORTER_ARGS
|
|
Restart=always
|
|
RestartSec=5
|
|
|
|
# Security settings
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths=/var/run/bird
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|