blob: 061c9d2638f1914addd447bed967da2e713969e3 [file] [log] [blame]
[Unit]
Description=CzechLight __MODEL__ driver
After=syslog.target network.target sysrepod.service
Before=rauc-mark-good.service
Requires=sysrepod.service
PartOf=sysrepod.service
StartLimitIntervalSec=0
ConditionKernelCommandLine=czechlight=__MODEL__
[Service]
Type=simple
ExecStart=/usr/bin/cla-sysrepod --io-log-level=4 --properties-log-level=5 --sr-bridge-log-level=5 --sysrepo-log-level=3 --appliance=__MODEL__-clearfog
PrivateTmp=yes
PrivateDevices=no
ProtectSystem=yes
ProtectHome=yes
Restart=on-abnormal
SystemCallArchitectures=native
Restart=always
WatchdogSec=15s
[Install]
WantedBy=multi-user.target