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 |
| 10 | PrivateTmp=yes |
| 11 | PrivateDevices=yes |
| 12 | ProtectSystem=yes |
| 13 | ProtectHome=yes |
| 14 | Restart=always |
| 15 | RestartSec=10s |
| 16 | LogRateLimitIntervalSec=10 |
| 17 | LogRateLimitBurst=30000 |
| 18 | SyslogLevel=alert |
| 19 | User=yangnobody |
| 20 | Group=yangnobody |
| 21 | |
| 22 | [Install] |
| 23 | WantedBy=multi-user.target |