forked from pool/dehydrated
Marcus Rueckert
ea11f1cea0
- Commands in service files need some escaping after all. Fix ExecStartPost. OBS-URL: https://build.opensuse.org/request/show/534491 OBS-URL: https://build.opensuse.org/package/show/security:dehydrated/dehydrated?expand=0&rev=16
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
|