blob: bef35f6cb82a1e36c9dbf1533041b0b1051d9bf8 [file] [log] [blame]
Tomáš Pecka25aae682021-01-27 14:45:57 +01001[Unit]
2Description=Tracking hardware metrics
Václav Kubernáte6ecb9b2021-02-09 20:53:44 +01003After=syslog.target network.target czechlight-install-yang.service cfg-restore-sysrepo.service nacm-restore.service
Tomáš Pecka25aae682021-01-27 14:45:57 +01004Before=rauc-mark-good.service
5PartOf=netopeer2.service
Václav Kubernáte6ecb9b2021-02-09 20:53:44 +01006Requires=czechlight-install-yang.service cfg-restore-sysrepo.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áš Pecka25aae682021-01-27 14:45:57 +010015PrivateTmp=yes
16PrivateDevices=no
17ProtectSystem=yes
18ProtectHome=yes
19Restart=always
20RestartSec=10s
21LogRateLimitIntervalSec=10
22LogRateLimitBurst=30000
23SyslogLevel=alert
24
25[Install]
26WantedBy=multi-user.target