- [Unit]
- Description=portcv - 每小时把系统时间回写到 RTC
- Documentation=file:///opt/portcv/deploy/board/README.md
- [Timer]
- # 启动 2 min 后先写一次(此时若已有 NTP 同步,写进去的就是正确时间)
- OnBootSec=2min
- OnUnitActiveSec=1h
- AccuracySec=1min
- Unit=portcv-rtcsave.service
- [Install]
- WantedBy=timers.target
|