2017-09-19 17:42:45 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Certificate Update Runner for Dehydrated
|
|
|
|
ConditionPathExists=/etc/dehydrated/config
|
|
|
|
After=network-online.target
|
|
|
|
Wants=acmeresponder.socket
|
2021-03-30 16:53:39 +02:00
|
|
|
PartOf=dehydrated.target
|
2017-09-19 17:42:45 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2017-10-20 13:02:37 +02:00
|
|
|
ExecStart=/usr/bin/dehydrated --cron
|
2017-09-19 17:42:45 +02:00
|
|
|
|
2017-10-06 12:52:01 +02:00
|
|
|
# dehydrated --cron will drop permissions and run critical code as dehydrated user.
|
2021-03-30 16:53:39 +02:00
|
|
|
User=dehydrated
|
|
|
|
Group=dehydrated
|