Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=CzechLight __MODEL__ driver |
Tomáš Pecka | 04eb737 | 2022-06-07 08:03:04 +0200 | [diff] [blame] | 3 | After=syslog.target network.target cfg-restore-sysrepo.service czechlight-migrate.service nacm-restore.service |
Jan Kundrát | 811c0b0 | 2021-02-05 19:16:43 +0100 | [diff] [blame] | 4 | Before=rauc-mark-good.service velia-hardware-g1.service velia-hardware-g2.service |
Jan Kundrát | 2f100fc | 2020-11-02 22:10:16 +0100 | [diff] [blame] | 5 | PartOf=netopeer2.service |
Tomáš Pecka | 04eb737 | 2022-06-07 08:03:04 +0200 | [diff] [blame] | 6 | Requires=cfg-restore-sysrepo.service czechlight-migrate.service nacm-restore.service |
Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 7 | StartLimitIntervalSec=0 |
Jan Kundrát | 811c0b0 | 2021-02-05 19:16:43 +0100 | [diff] [blame] | 8 | ConditionKernelCommandLine=|czechlight=__MODEL__ |
| 9 | ConditionKernelCommandLine=|czechlight=__MODEL__-g2 |
Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 10 | |
| 11 | [Service] |
Jan Kundrát | 2f100fc | 2020-11-02 22:10:16 +0100 | [diff] [blame] | 12 | Type=notify |
Jan Kundrát | 58ac4ee | 2019-12-18 16:59:24 +0100 | [diff] [blame] | 13 | ExecStart=/usr/bin/cla-sysrepod --io-log-level=5 --properties-log-level=5 --sr-bridge-log-level=5 --sysrepo-log-level=3 --appliance=__MODEL__ |
Tomáš Pecka | d3861ce | 2022-05-11 11:51:30 +0200 | [diff] [blame] | 14 | Group=sysrepo |
Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 15 | PrivateTmp=yes |
| 16 | PrivateDevices=no |
| 17 | ProtectSystem=yes |
| 18 | ProtectHome=yes |
| 19 | Restart=on-abnormal |
| 20 | SystemCallArchitectures=native |
| 21 | Restart=always |
| 22 | WatchdogSec=15s |
Jan Kundrát | b7181a3 | 2019-10-31 12:40:23 +0100 | [diff] [blame] | 23 | LogRateLimitIntervalSec=10 |
| 24 | LogRateLimitBurst=30000 |
| 25 | SyslogLevel=alert |
Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 26 | |
| 27 | [Install] |
| 28 | WantedBy=multi-user.target |
Jan Kundrát | 811c0b0 | 2021-02-05 19:16:43 +0100 | [diff] [blame] | 29 | RequiredBy=velia-hardware-g1.service velia-hardware-g2.service |