blob: c48bce37d7d034fbe4daae0fc1e1d85c3975f9fb [file] [log] [blame]
Jan Kundrát2ccae182018-09-13 21:24:38 +02001[Unit]
2Description=CzechLight __MODEL__ driver
3After=syslog.target network.target sysrepod.service
4Before=rauc-mark-good.service
5Requires=sysrepod.service
6PartOf=sysrepod.service
7StartLimitIntervalSec=0
8ConditionKernelCommandLine=czechlight=__MODEL__
9
10[Service]
11Type=simple
Jan Kundrátc901db02019-10-30 15:01:23 +010012ExecStart=/usr/bin/cla-sysrepod --io-log-level=5 --properties-log-level=5 --sr-bridge-log-level=5 --sysrepo-log-level=3 --appliance=__MODEL__-clearfog
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