blob: 061c9d2638f1914addd447bed967da2e713969e3 [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át84def7e2019-08-30 11:26:55 +020012ExecStart=/usr/bin/cla-sysrepod --io-log-level=4 --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