blob: 84781880213330b3b3666d373ee5450d1d961783 [file] [log] [blame]
Jan Kundrát2ccae182018-09-13 21:24:38 +02001[Unit]
2Description=CzechLight __MODEL__ driver
Jan Kundráte950cf72024-09-06 17:46:11 +02003After=syslog.target network.target cfg-yang.service
Jan Kundrát89128312024-09-25 19:04:09 +02004Before=rauc-mark-good.service
Jan Kundráte950cf72024-09-06 17:46:11 +02005Requires=cfg-yang.service
Jan Kundrát2ccae182018-09-13 21:24:38 +02006StartLimitIntervalSec=0
Jan Kundrát811c0b02021-02-05 19:16:43 +01007ConditionKernelCommandLine=|czechlight=__MODEL__-g2
Jan Kundrát2ccae182018-09-13 21:24:38 +02008
9[Service]
Jan Kundrát2f100fc2020-11-02 22:10:16 +010010Type=notify
Jan Kundrát58ac4ee2019-12-18 16:59:24 +010011ExecStart=/usr/bin/cla-sysrepod --io-log-level=5 --properties-log-level=5 --sr-bridge-log-level=5 --sysrepo-log-level=3 --appliance=__MODEL__
Tomáš Peckad3861ce2022-05-11 11:51:30 +020012Group=sysrepo
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