[Unit] Description=Postrun Hooks Runner for Dehydrated ConditionPathExists=/etc/dehydrated/postrun-hooks.d After=dehydrated.service PartOf=dehydrated.target [Service] Type=oneshot ExecStart=-/usr/bin/find -L /etc/dehydrated/postrun-hooks.d -maxdepth 1 -executable -type f -exec {} \; User=root Group=root [Install] RequiredBy=dehydrated.service