forked from pool/dehydrated
Marcus Rueckert
69cee6f711
/usr/bin/bash OBS-URL: https://build.opensuse.org/package/show/security:dehydrated/dehydrated?expand=0&rev=19
15 lines
420 B
SYSTEMD
15 lines
420 B
SYSTEMD
[Unit]
|
|
Description=Certificate Update Runner for Dehydrated
|
|
ConditionPathExists=/etc/dehydrated/config
|
|
After=network-online.target
|
|
Wants=acmeresponder.socket
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStartPost=-/usr/bin/find -L @POSTRUNHOOKS_DIR@ -maxdepth 1 -executable -type f -exec {} \;
|
|
ExecStart=/usr/bin/dehydrated --cron
|
|
|
|
# dehydrated --cron will drop permissions and run critical code as dehydrated user.
|
|
User=root
|
|
Group=root
|