blob: 0efa671badfaa1c6e686441d743b100156dbcbeb [file] [log] [blame]
Tomáš Pecka25aae682021-01-27 14:45:57 +01001[Unit]
2Description=Tracking hardware metrics
Tomáš Peckab31a0892023-07-19 11:12:29 +02003After=syslog.target network.target cfg-restore-sysrepo.service czechlight-migrate.service
Tomáš Pecka25aae682021-01-27 14:45:57 +01004Before=rauc-mark-good.service
5PartOf=netopeer2.service
Tomáš Peckab31a0892023-07-19 11:12:29 +02006Requires=cfg-restore-sysrepo.service czechlight-migrate.service
Jan Kundrát811c0b02021-02-05 19:16:43 +01007ConditionKernelCommandLine=|czechlight=sdn-inline
8ConditionKernelCommandLine=|czechlight=sdn-roadm-add-drop
9ConditionKernelCommandLine=|czechlight=sdn-roadm-coherent-a-d
10ConditionKernelCommandLine=|czechlight=sdn-roadm-line
Tomáš Pecka25aae682021-01-27 14:45:57 +010011
12[Service]
13Type=simple
Václav Kubernát0dde5042021-02-12 11:09:46 +010014ExecStart=/usr/bin/veliad-hardware --appliance=czechlight-clearfog
Tomáš Peckad3861ce2022-05-11 11:51:30 +020015Group=sysrepo
Tomáš Pecka25aae682021-01-27 14:45:57 +010016PrivateTmp=yes
17PrivateDevices=no
18ProtectSystem=yes
19ProtectHome=yes
20Restart=always
21RestartSec=10s
22LogRateLimitIntervalSec=10
23LogRateLimitBurst=30000
24SyslogLevel=alert
25
26[Install]
27WantedBy=multi-user.target