Jan Kundrát | b41f008 | 2021-03-09 22:20:35 +0100 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=RESTCONFish server |
| 3 | After=syslog.target network.target czechlight-install-yang.service cfg-restore-sysrepo.service nacm-restore.service |
| 4 | PartOf=netopeer2.service |
| 5 | Requires=czechlight-install-yang.service cfg-restore-sysrepo.service nacm-restore.service |
| 6 | |
| 7 | [Service] |
| 8 | Type=simple |
| 9 | ExecStart=/usr/bin/rousette |
Tomáš Pecka | d3861ce | 2022-05-11 11:51:30 +0200 | [diff] [blame^] | 10 | User=yangnobody |
| 11 | Group=yangnobody |
| 12 | SupplementaryGroups=sysrepo optics |
Jan Kundrát | b41f008 | 2021-03-09 22:20:35 +0100 | [diff] [blame] | 13 | PrivateTmp=yes |
| 14 | PrivateDevices=yes |
| 15 | ProtectSystem=yes |
| 16 | ProtectHome=yes |
| 17 | Restart=always |
| 18 | RestartSec=10s |
| 19 | LogRateLimitIntervalSec=10 |
| 20 | LogRateLimitBurst=30000 |
| 21 | SyslogLevel=alert |
Jan Kundrát | b41f008 | 2021-03-09 22:20:35 +0100 | [diff] [blame] | 22 | |
| 23 | [Install] |
| 24 | WantedBy=multi-user.target |