friendica-exporter/contrib/friendica-exporter.service

18 lines
429 B
SYSTEMD
Raw Normal View History

2024-10-24 20:26:41 +02:00
[Unit]
Description=Prometheus exporter for Friendica metrics
Documentation=https://git.friendi.ca/friendica/friendica-exporter
After=network.target nss-lookup.target
[Service]
Type=simple
ExecStart=/usr/bin/friendica-exporter -c /etc/friendica-exporter.yml
User=friendica-exporter
Group=friendica-exporter
PrivateTmp=true
ProtectHome=true
ProtectSystem=full
Restart=on-failure
RestartSec=20
[Install]
WantedBy=multi-user.target