Tomáš Pecka | 25aae68 | 2021-01-27 14:45:57 +0100 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Tracking hardware metrics |
Václav Kubernát | e6ecb9b | 2021-02-09 20:53:44 +0100 | [diff] [blame] | 3 | After=syslog.target network.target czechlight-install-yang.service cfg-restore-sysrepo.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 |
Václav Kubernát | e6ecb9b | 2021-02-09 20:53:44 +0100 | [diff] [blame] | 6 | Requires=czechlight-install-yang.service cfg-restore-sysrepo.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 |
| 12 | ConditionKernelCommandLine=|czechlight=sdn-roadm-hires-add-drop-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 | 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 |