Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=CzechLight __MODEL__ driver |
Jan Kundrát | 34d2f48 | 2021-01-11 19:24:09 +0100 | [diff] [blame] | 3 | After=syslog.target network.target czechlight-install-yang.service cfg-restore-sysrepo.service |
Tomáš Pecka | 25aae68 | 2021-01-27 14:45:57 +0100 | [diff] [blame] | 4 | Before=rauc-mark-good.service velia-hardware.service |
Jan Kundrát | 2f100fc | 2020-11-02 22:10:16 +0100 | [diff] [blame] | 5 | PartOf=netopeer2.service |
Jan Kundrát | 34d2f48 | 2021-01-11 19:24:09 +0100 | [diff] [blame] | 6 | Requires=czechlight-install-yang.service cfg-restore-sysrepo.service |
Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 7 | StartLimitIntervalSec=0 |
| 8 | ConditionKernelCommandLine=czechlight=__MODEL__ |
| 9 | |
| 10 | [Service] |
Jan Kundrát | 2f100fc | 2020-11-02 22:10:16 +0100 | [diff] [blame] | 11 | Type=notify |
Jan Kundrát | 58ac4ee | 2019-12-18 16:59:24 +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__ |
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 |
Tomáš Pecka | 25aae68 | 2021-01-27 14:45:57 +0100 | [diff] [blame] | 27 | RequiredBy=velia-hardware.service |