[Unit] Description=Record the time this boot note runs [Service] Type=oneshot DynamicUser=yes ExecStart=/usr/bin/date --iso-8601=seconds NoNewPrivileges=yes [Install] WantedBy=multi-user.target