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 |
| 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 | d3861ce | 2022-05-11 11:51:30 +0200 | [diff] [blame] | 15 | Group=sysrepo |
Tomáš Pecka | 25aae68 | 2021-01-27 14:45:57 +0100 | [diff] [blame] | 16 | PrivateTmp=yes |
| 17 | PrivateDevices=no |
| 18 | ProtectSystem=yes |
| 19 | ProtectHome=yes |
| 20 | Restart=always |
| 21 | RestartSec=10s |
| 22 | LogRateLimitIntervalSec=10 |
| 23 | LogRateLimitBurst=30000 |
| 24 | SyslogLevel=alert |
| 25 | |
| 26 | [Install] |
| 27 | WantedBy=multi-user.target |