Tomáš Pecka | 742c7ec | 2022-10-03 13:49:57 +0200 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=IETF-alarms management via sysrepo |
| 3 | After=syslog.target network.target cfg-restore-sysrepo.service czechlight-migrate.service nacm-restore.service |
| 4 | Before=rauc-mark-good.service |
| 5 | PartOf=netopeer2.service |
| 6 | Requires=cfg-restore-sysrepo.service czechlight-migrate.service nacm-restore.service |
| 7 | ConditionKernelCommandLine=czechlight |
| 8 | |
| 9 | [Service] |
| 10 | Type=simple |
| 11 | ExecStart=/usr/bin/sysrepo-ietf-alarmsd |
| 12 | Group=sysrepo |
| 13 | PrivateTmp=yes |
| 14 | PrivateDevices=no |
| 15 | ProtectSystem=yes |
| 16 | ProtectHome=yes |
| 17 | Restart=always |
| 18 | RestartSec=10s |
| 19 | LogRateLimitIntervalSec=10 |
| 20 | LogRateLimitBurst=30000 |
| 21 | SyslogLevel=alert |
| 22 | |
| 23 | [Install] |
| 24 | WantedBy=multi-user.target |
| 25 | RequiredBy=velia-health.service |