Tomáš Pecka | 25aae68 | 2021-01-27 14:45:57 +0100 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Tracking hardware metrics |
Jan Kundrát | e950cf7 | 2024-09-06 17:46:11 +0200 | [diff] [blame] | 3 | After=syslog.target network.target cfg-yang.service |
Tomáš Pecka | 25aae68 | 2021-01-27 14:45:57 +0100 | [diff] [blame] | 4 | Before=rauc-mark-good.service |
Jan Kundrát | e950cf7 | 2024-09-06 17:46:11 +0200 | [diff] [blame] | 5 | Requires=cfg-yang.service |
Jan Kundrát | 811c0b0 | 2021-02-05 19:16:43 +0100 | [diff] [blame] | 6 | ConditionKernelCommandLine=|czechlight=sdn-inline-g2 |
| 7 | ConditionKernelCommandLine=|czechlight=sdn-roadm-add-drop-g2 |
| 8 | ConditionKernelCommandLine=|czechlight=sdn-roadm-coherent-a-d-g2 |
Jan Kundrát | f25a84f | 2021-03-21 13:18:47 +0100 | [diff] [blame] | 9 | ConditionKernelCommandLine=|czechlight=sdn-roadm-hires-add-drop-g2 |
Jan Kundrát | 811c0b0 | 2021-02-05 19:16:43 +0100 | [diff] [blame] | 10 | ConditionKernelCommandLine=|czechlight=sdn-roadm-line-g2 |
Jan Kundrát | 6b60629 | 2024-05-07 21:01:50 +0200 | [diff] [blame] | 11 | ConditionKernelCommandLine=|czechlight=sdn-bidi-cplus1572-g2 |
| 12 | ConditionKernelCommandLine=|czechlight=sdn-bidi-cplus1572-ocm-g2 |
Tomáš Pecka | 25aae68 | 2021-01-27 14:45:57 +0100 | [diff] [blame] | 13 | |
| 14 | [Service] |
| 15 | Type=simple |
Václav Kubernát | 0dde504 | 2021-02-12 11:09:46 +0100 | [diff] [blame] | 16 | ExecStart=/usr/bin/veliad-hardware --appliance=czechlight-clearfog-g2 |
Tomáš Pecka | d3861ce | 2022-05-11 11:51:30 +0200 | [diff] [blame] | 17 | Group=sysrepo |
Tomáš Pecka | 25aae68 | 2021-01-27 14:45:57 +0100 | [diff] [blame] | 18 | PrivateTmp=yes |
| 19 | PrivateDevices=no |
| 20 | ProtectSystem=yes |
| 21 | ProtectHome=yes |
| 22 | Restart=always |
| 23 | RestartSec=10s |
| 24 | LogRateLimitIntervalSec=10 |
| 25 | LogRateLimitBurst=30000 |
| 26 | SyslogLevel=alert |
| 27 | |
| 28 | [Install] |
| 29 | WantedBy=multi-user.target |