| [Unit] |
| Description=Tracking hardware metrics |
| After=syslog.target network.target cfg-yang.service |
| Before=rauc-mark-good.service |
| Requires=cfg-yang.service |
| ConditionKernelCommandLine=|czechlight=sdn-inline-g2 |
| ConditionKernelCommandLine=|czechlight=sdn-roadm-add-drop-g2 |
| ConditionKernelCommandLine=|czechlight=sdn-roadm-coherent-a-d-g2 |
| ConditionKernelCommandLine=|czechlight=sdn-roadm-hires-add-drop-g2 |
| ConditionKernelCommandLine=|czechlight=sdn-roadm-line-g2 |
| ConditionKernelCommandLine=|czechlight=sdn-bidi-cplus1572-g2 |
| ConditionKernelCommandLine=|czechlight=sdn-bidi-cplus1572-ocm-g2 |
| |
| [Service] |
| Type=simple |
| ExecStart=/usr/bin/veliad-hardware --appliance=czechlight-clearfog-g2 |
| Group=sysrepo |
| PrivateTmp=yes |
| PrivateDevices=no |
| ProtectSystem=yes |
| ProtectHome=yes |
| Restart=always |
| RestartSec=10s |
| LogRateLimitIntervalSec=10 |
| LogRateLimitBurst=30000 |
| SyslogLevel=alert |
| |
| [Install] |
| WantedBy=multi-user.target |