Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=CzechLight __MODEL__ driver |
Václav Kubernát | e6ecb9b | 2021-02-09 20:53:44 +0100 | [diff] [blame] | 3 | After=syslog.target network.target czechlight-install-yang.service cfg-restore-sysrepo.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 |
Václav Kubernát | e6ecb9b | 2021-02-09 20:53:44 +0100 | [diff] [blame] | 6 | Requires=czechlight-install-yang.service cfg-restore-sysrepo.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__ |
Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 14 | PrivateTmp=yes |
| 15 | PrivateDevices=no |
| 16 | ProtectSystem=yes |
| 17 | ProtectHome=yes |
| 18 | Restart=on-abnormal |
| 19 | SystemCallArchitectures=native |
| 20 | Restart=always |
| 21 | WatchdogSec=15s |
Jan Kundrát | b7181a3 | 2019-10-31 12:40:23 +0100 | [diff] [blame] | 22 | LogRateLimitIntervalSec=10 |
| 23 | LogRateLimitBurst=30000 |
| 24 | SyslogLevel=alert |
Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 25 | |
| 26 | [Install] |
| 27 | WantedBy=multi-user.target |
Jan Kundrát | 811c0b0 | 2021-02-05 19:16:43 +0100 | [diff] [blame] | 28 | RequiredBy=velia-hardware-g1.service velia-hardware-g2.service |