Skip to content

Commit

Permalink
Also add target for the other units
Browse files Browse the repository at this point in the history
  • Loading branch information
darix committed Mar 24, 2022
1 parent 21e6f65 commit 047c762
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions systemd/cert-renewer.target
@@ -0,0 +1,2 @@
[Unit]
Description=Target to restart all parts of the Smallstep Certificate Renewal
1 change: 1 addition & 0 deletions systemd/cert-renewer@.service
Expand Up @@ -3,6 +3,7 @@ Description=Certificate renewer for %I
After=network-online.target
Documentation=https://smallstep.com/docs/step-ca/certificate-authority-server-production
StartLimitIntervalSec=0
PartOf=cert-renewer.target

[Service]
Type=oneshot
Expand Down
3 changes: 2 additions & 1 deletion systemd/cert-renewer@.timer
@@ -1,6 +1,7 @@
[Unit]
Description=Certificate renewal timer for %I
Description=Timer for Certificate renewal timer for %I
Documentation=https://smallstep.com/docs/step-ca/certificate-authority-server-production
PartOf=cert-renewer.target

[Timer]
Persistent=true
Expand Down

0 comments on commit 047c762

Please sign in to comment.