blob: 52e020faf376686a31faffd81374d2eee904f6f6 [file] [log] [blame]
Tomáš Pecka25aae682021-01-27 14:45:57 +01001[Unit]
2Description=Tracking hardware metrics
3After=syslog.target network.target czechlight-install-yang.service cfg-restore-sysrepo.service
4Before=rauc-mark-good.service
5PartOf=netopeer2.service
6Requires=czechlight-install-yang.service cfg-restore-sysrepo.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
14ExecStart=/usr/bin/veliad-hardware --log-level=4 --appliance=czechlight-clearfog
15PrivateTmp=yes
16PrivateDevices=no
17ProtectSystem=yes
18ProtectHome=yes
19Restart=always
20RestartSec=10s
21LogRateLimitIntervalSec=10
22LogRateLimitBurst=30000
23SyslogLevel=alert
24
25[Install]
26WantedBy=multi-user.target