O_TMPFILE should do this.
> - Unit files.
O_TMPFILE together with renameat2 and RENAME_EXCHANGE should do this.