Initial commit
This commit is contained in:
24
debian/bird-exporter.service
vendored
Normal file
24
debian/bird-exporter.service
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
[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}
|
||||
Group=${BIRD_RUN_GROUP}
|
||||
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
|
||||
Reference in New Issue
Block a user