blob: 7ee5c3175a3996ac48a99183f8f55ee89093bbbe [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
21
22[Install]
23WantedBy=multi-user.target