blob: 80586067f34b831d95d02339b25190eaf2726005 [file] [log] [blame]
[Unit]
Description=CzechLight __MODEL__ driver
After=syslog.target network.target czechlight-install-yang.service
Before=rauc-mark-good.service
PartOf=netopeer2.service
Requires=czechlight-install-yang.service
StartLimitIntervalSec=0
ConditionKernelCommandLine=czechlight=__MODEL__
[Service]
Type=notify
ExecStart=/usr/bin/cla-sysrepod --io-log-level=5 --properties-log-level=5 --sr-bridge-log-level=5 --sysrepo-log-level=3 --appliance=__MODEL__
PrivateTmp=yes
PrivateDevices=no
ProtectSystem=yes
ProtectHome=yes
Restart=on-abnormal
SystemCallArchitectures=native
Restart=always
WatchdogSec=15s
LogRateLimitIntervalSec=10
LogRateLimitBurst=30000
SyslogLevel=alert
[Install]
WantedBy=multi-user.target