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 |
| 8 | ConditionKernelCommandLine=|czechlight=sdn-roadm-add-drop |
| 9 | ConditionKernelCommandLine=|czechlight=sdn-roadm-coherent-a-d |
| 10 | ConditionKernelCommandLine=|czechlight=sdn-roadm-line |
Tomáš Pecka | 25aae68 | 2021-01-27 14:45:57 +0100 | [diff] [blame] | 11 | |
| 12 | [Service] |
| 13 | Type=simple |
Václav Kubernát | 0dde504 | 2021-02-12 11:09:46 +0100 | [diff] [blame] | 14 | ExecStart=/usr/bin/veliad-hardware --appliance=czechlight-clearfog |
Tomáš Pecka | 25aae68 | 2021-01-27 14:45:57 +0100 | [diff] [blame] | 15 | PrivateTmp=yes |
| 16 | PrivateDevices=no |
| 17 | ProtectSystem=yes |
| 18 | ProtectHome=yes |
| 19 | Restart=always |
| 20 | RestartSec=10s |
| 21 | LogRateLimitIntervalSec=10 |
| 22 | LogRateLimitBurst=30000 |
| 23 | SyslogLevel=alert |
| 24 | |
| 25 | [Install] |
| 26 | WantedBy=multi-user.target |