Tomáš Pecka | 25aae68 | 2021-01-27 14:45:57 +0100 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=System management via sysrepo |
Jan Kundrát | c47fbe6 | 2024-09-25 11:55:54 +0200 | [diff] [blame] | 3 | After=syslog.target network.target cfg-yang.service |
Tomáš Pecka | 25aae68 | 2021-01-27 14:45:57 +0100 | [diff] [blame] | 4 | Before=rauc-mark-good.service |
Jan Kundrát | c47fbe6 | 2024-09-25 11:55:54 +0200 | [diff] [blame] | 5 | Requires=cfg-yang.service |
Tomáš Pecka | 25aae68 | 2021-01-27 14:45:57 +0100 | [diff] [blame] | 6 | ConditionKernelCommandLine=czechlight |
| 7 | |
| 8 | [Service] |
| 9 | Type=simple |
Václav Kubernát | 0dde504 | 2021-02-12 11:09:46 +0100 | [diff] [blame] | 10 | ExecStart=/usr/bin/veliad-system |
Tomáš Pecka | d3861ce | 2022-05-11 11:51:30 +0200 | [diff] [blame] | 11 | Group=sysrepo |
Tomáš Pecka | 25aae68 | 2021-01-27 14:45:57 +0100 | [diff] [blame] | 12 | PrivateTmp=yes |
| 13 | PrivateDevices=no |
| 14 | ProtectSystem=yes |
| 15 | ProtectHome=yes |
| 16 | Restart=always |
| 17 | RestartSec=10s |
| 18 | LogRateLimitIntervalSec=10 |
| 19 | LogRateLimitBurst=30000 |
| 20 | SyslogLevel=alert |
| 21 | |
| 22 | [Install] |
| 23 | WantedBy=multi-user.target |