| 1 |
[Unit] |
| 2 |
Description=Certificate Transparency Log Monitor |
| 3 |
Documentation=man:certspotter(8) |
| 4 |
After=network-online.target |
| 5 |
Wants=network-online.target |
| 6 |
ConditionPathExists=/etc/certspotter/watchlist |
| 7 |
|
| 8 |
[Service] |
| 9 |
Type=simple |
| 10 |
User=_certspotter |
| 11 |
Group=_certspotter |
| 12 |
ExecCondition=grep -q -E -v '^\s*(#|$)' /etc/certspotter/watchlist |
| 13 |
Environment=CERTSPOTTER_CONFIG_DIR=/etc/certspotter CERTSPOTTER_STATE_DIR=/var/cache/certspotter |
| 14 |
ExecStart=/usr/bin/certspotter -start_at_end |
| 15 |
ConfigurationDirectory=certspotter |
| 16 |
CacheDirectory=certspotter |
| 17 |
# not strict, because we want to allow some flexibility to hooks |
| 18 |
ProtectSystem=full |
| 19 |
|
| 20 |
[Install] |
| 21 |
WantedBy=multi-user.target |