blob: 2cf20b06d78db8335d3425cd9c6b0b4784caeb47 [file] [log] [blame]
Jan Kundrát2ccae182018-09-13 21:24:38 +02001[Unit]
2Description=CzechLight __MODEL__ driver
Jan Kundrát34d2f482021-01-11 19:24:09 +01003After=syslog.target network.target czechlight-install-yang.service cfg-restore-sysrepo.service
Jan Kundrát811c0b02021-02-05 19:16:43 +01004Before=rauc-mark-good.service velia-hardware-g1.service velia-hardware-g2.service
Jan Kundrát2f100fc2020-11-02 22:10:16 +01005PartOf=netopeer2.service
Jan Kundrát34d2f482021-01-11 19:24:09 +01006Requires=czechlight-install-yang.service cfg-restore-sysrepo.service
Jan Kundrát2ccae182018-09-13 21:24:38 +02007StartLimitIntervalSec=0
Jan Kundrát811c0b02021-02-05 19:16:43 +01008ConditionKernelCommandLine=|czechlight=__MODEL__
9ConditionKernelCommandLine=|czechlight=__MODEL__-g2
Jan Kundrát2ccae182018-09-13 21:24:38 +020010
11[Service]
Jan Kundrát2f100fc2020-11-02 22:10:16 +010012Type=notify
Jan Kundrát58ac4ee2019-12-18 16:59:24 +010013ExecStart=/usr/bin/cla-sysrepod --io-log-level=5 --properties-log-level=5 --sr-bridge-log-level=5 --sysrepo-log-level=3 --appliance=__MODEL__
Jan Kundrát2ccae182018-09-13 21:24:38 +020014PrivateTmp=yes
15PrivateDevices=no
16ProtectSystem=yes
17ProtectHome=yes
18Restart=on-abnormal
19SystemCallArchitectures=native
20Restart=always
21WatchdogSec=15s
Jan Kundrátb7181a32019-10-31 12:40:23 +010022LogRateLimitIntervalSec=10
23LogRateLimitBurst=30000
24SyslogLevel=alert
Jan Kundrát2ccae182018-09-13 21:24:38 +020025
26[Install]
27WantedBy=multi-user.target
Jan Kundrát811c0b02021-02-05 19:16:43 +010028RequiredBy=velia-hardware-g1.service velia-hardware-g2.service