Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=CzechLight __MODEL__ driver |
| 3 | After=syslog.target network.target sysrepod.service |
| 4 | Before=rauc-mark-good.service |
| 5 | Requires=sysrepod.service |
| 6 | PartOf=sysrepod.service |
| 7 | StartLimitIntervalSec=0 |
| 8 | ConditionKernelCommandLine=czechlight=__MODEL__ |
| 9 | |
| 10 | [Service] |
| 11 | Type=simple |
Jan Kundrát | c901db0 | 2019-10-30 15:01:23 +0100 | [diff] [blame] | 12 | ExecStart=/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át | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 13 | PrivateTmp=yes |
| 14 | PrivateDevices=no |
| 15 | ProtectSystem=yes |
| 16 | ProtectHome=yes |
| 17 | Restart=on-abnormal |
| 18 | SystemCallArchitectures=native |
| 19 | Restart=always |
| 20 | WatchdogSec=15s |
Jan Kundrát | b7181a3 | 2019-10-31 12:40:23 +0100 | [diff] [blame] | 21 | LogRateLimitIntervalSec=10 |
| 22 | LogRateLimitBurst=30000 |
| 23 | SyslogLevel=alert |
Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 24 | |
| 25 | [Install] |
| 26 | WantedBy=multi-user.target |