[Unit] Description=Run scripts from /etc/firsttime.d After=local-fs.target Before=rc-local.service ConditionPathExists=/etc/firsttime.flag ConditionDirectoryNotEmpty=/etc/firsttime.d [Service] ExecStart=/bin/run-parts /etc/firsttime.d ExecStartPost=/bin/rm -f /etc/firsttime.flag Type=oneshot TimeoutSec=0 RemainAfterExit=yes