blob: 1028a6ef61b0e1f535b8a9c63b782f3830346f49 [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__
8ConditionKernelCommandLine=|czechlight=__MODEL__-g2
Jan Kundrát2ccae182018-09-13 21:24:38 +02009
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__
Tomáš Peckad3861ce2022-05-11 11:51:30 +020013Group=sysrepo
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