blob: 80586067f34b831d95d02339b25190eaf2726005 [file] [log] [blame]
Jan Kundrát2ccae182018-09-13 21:24:38 +02001[Unit]
2Description=CzechLight __MODEL__ driver
Jan Kundrát2f100fc2020-11-02 22:10:16 +01003After=syslog.target network.target czechlight-install-yang.service
Jan Kundrát2ccae182018-09-13 21:24:38 +02004Before=rauc-mark-good.service
Jan Kundrát2f100fc2020-11-02 22:10:16 +01005PartOf=netopeer2.service
6Requires=czechlight-install-yang.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