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