Skip to content

Commit

Permalink
rome: keep trying to restart service
Browse files Browse the repository at this point in the history
The default is to restart a few times, and then give up.

Why do we even have that lever!?
  • Loading branch information
FiloSottile committed Jan 13, 2025
1 parent 737ae11 commit 643a614
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rome/sunlight.service
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
[Unit]
Description=Sunlight Certificate Transparency Log
After=network.target
Wants=network-online.target
StartLimitIntervalSec=0

[Service]
EnvironmentFile=/etc/sunlight/credentials.env
ExecStart=/usr/local/bin/sunlight -c /etc/sunlight/sunlight.yaml
StandardOutput=append:/var/log/sunlight.jsonl
StandardError=journal
Restart=on-failure
Restart=always
RestartSteps=10
RestartMaxDelaySec=1m

[Install]
WantedBy=multi-user.target

0 comments on commit 643a614

Please sign in to comment.