[Unit]
Description=Run pending postinsts
DefaultDependencies=no
After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount
Before=sysinit.target
ConditionPathExistsGlob=/etc/*-postinsts

[Service]
Type=oneshot
ExecStart=/usr/sbin/run-postinsts
ExecStartPost=/bin/systemctl disable run-postinsts.service
RemainAfterExit=No
TimeoutSec=0

[Install]
WantedBy=sysinit.target
