Add example systemd service and timer
This commit is contained in:
parent
63ca0511c9
commit
ecdb27dff2
@ -1,4 +1,4 @@
|
|||||||
0.5 -
|
0.5 - Add example systemd timer and service units
|
||||||
0.4 - Add email and code signing flat file certificate stores
|
0.4 - Add email and code signing flat file certificate stores
|
||||||
0.3 - Generate single file stores (Java and GNUTLS) using main OpenSSL
|
0.3 - Generate single file stores (Java and GNUTLS) using main OpenSSL
|
||||||
store as source to avoid duplicates
|
store as source to avoid duplicates
|
||||||
|
12
systemd/update-pki.service
Normal file
12
systemd/update-pki.service
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Update PKI/TLS certificate store
|
||||||
|
Documentation=man:make-ca(8)
|
||||||
|
DefaultDependencies=no
|
||||||
|
After=local-fs.target
|
||||||
|
Before=shutdown.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
ExecStart=/usr/sbin/make-ca -g
|
||||||
|
|
10
systemd/update-pki.timer
Normal file
10
systemd/update-pki.timer
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Update PKI/TLS certificate store weekly
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=Sun 02:00:00
|
||||||
|
Persistent=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
|
|
Loading…
Reference in New Issue
Block a user