blob: 548d18972986fd324ecab0a15fe1a4211954c501 [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
Tomáš Pecka25aae682021-01-27 14:45:57 +01004Before=rauc-mark-good.service velia-hardware.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
8ConditionKernelCommandLine=czechlight=__MODEL__
9
10[Service]
Jan Kundrát2f100fc2020-11-02 22:10:16 +010011Type=notify
Jan Kundrát58ac4ee2019-12-18 16:59:24 +010012ExecStart=/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 +020013PrivateTmp=yes
14PrivateDevices=no
15ProtectSystem=yes
16ProtectHome=yes
17Restart=on-abnormal
18SystemCallArchitectures=native
19Restart=always
20WatchdogSec=15s
Jan Kundrátb7181a32019-10-31 12:40:23 +010021LogRateLimitIntervalSec=10
22LogRateLimitBurst=30000
23SyslogLevel=alert
Jan Kundrát2ccae182018-09-13 21:24:38 +020024
25[Install]
26WantedBy=multi-user.target
Tomáš Pecka25aae682021-01-27 14:45:57 +010027RequiredBy=velia-hardware.service