blob: cb0cd301739951545f4ff5df1995a570ded83f2a [file] [log] [blame]
Tomáš Pecka25aae682021-01-27 14:45:57 +01001[Unit]
2Description=Tracking hardware metrics
Tomáš Pecka04eb7372022-06-07 08:03:04 +02003After=syslog.target network.target cfg-restore-sysrepo.service czechlight-migrate.service nacm-restore.service
Tomáš Pecka25aae682021-01-27 14:45:57 +01004Before=rauc-mark-good.service
5PartOf=netopeer2.service
Tomáš Pecka04eb7372022-06-07 08:03:04 +02006Requires=cfg-restore-sysrepo.service czechlight-migrate.service nacm-restore.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