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__-g2 |
Jan Kundrát | 2ccae18 | 2018-09-13 21:24:38 +0200 | [diff] [blame] | 8 | |
| 9 | [Service] |
Jan Kundrát | 2f100fc | 2020-11-02 22:10:16 +0100 | [diff] [blame] | 10 | Type=notify |
Jan Kundrát | 58ac4ee | 2019-12-18 16:59:24 +0100 | [diff] [blame] | 11 | 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] | 12 | Group=sysrepo |
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 |