Add a systemd unit file + default with flags

This commit is contained in:
2026-03-24 20:37:29 +01:00
parent 699c3680cd
commit 770bfe9806
3 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
[Unit]
Description=CT Log Uptime Prometheus Exporter
Documentation=https://git.ipng.ch/certificate-transparency/ctlog-uptime-exporter
After=network-online.target
Wants=network-online.target
[Service]
EnvironmentFile=/etc/default/ctlog-uptime-exporter
ExecStart=/usr/local/bin/ctlog-uptime-exporter $ARGS
Restart=on-failure
RestartSec=5s
DynamicUser=yes
NoNewPrivileges=yes
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes
CapabilityBoundingSet=
[Install]
WantedBy=multi-user.target