Add systemd service and timer
This commit is contained in:
parent
c091ec2e32
commit
f267efa66b
7
copy-cert.service
Normal file
7
copy-cert.service
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Unit]
|
||||
Description=Copy certificates to needed location
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/copy-cert.py
|
||||
|
10
copy-cert.timer
Normal file
10
copy-cert.timer
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Copy certificates to needed location
|
||||
|
||||
[Timer]
|
||||
OnCalendar=daily
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
Loading…
Reference in a new issue