Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=CzechLight __MODEL__ driver |
Jan Kundrát | e950cf7 | 2024-09-06 17:46:11 +0200 | [diff] [blame] | 3 | After=syslog.target network.target cfg-yang.service |
Jan Kundrát | 8912831 | 2024-09-25 19:04:09 +0200 | [diff] [blame^] | 4 | Before=rauc-mark-good.service |
Jan Kundrát | e950cf7 | 2024-09-06 17:46:11 +0200 | [diff] [blame] | 5 | Requires=cfg-yang.service |
Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 6 | StartLimitIntervalSec=0 |
Jan Kundrát | 811c0b0 | 2021-02-05 19:16:43 +0100 | [diff] [blame] | 7 | ConditionKernelCommandLine=|czechlight=__MODEL__ |
| 8 | ConditionKernelCommandLine=|czechlight=__MODEL__-g2 |
Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 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__ |
Tomáš Pecka | d3861ce | 2022-05-11 11:51:30 +0200 | [diff] [blame] | 13 | Group=sysrepo |
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 |