blob: cb79d27a5d513a79120dfce3beb64963ef52210c [file] [log] [blame]
Jan Kundrátb41f0082021-03-09 22:20:35 +01001[Unit]
2Description=RESTCONFish server
3After=syslog.target network.target czechlight-install-yang.service cfg-restore-sysrepo.service nacm-restore.service
4PartOf=netopeer2.service
5Requires=czechlight-install-yang.service cfg-restore-sysrepo.service nacm-restore.service
6
7[Service]
8Type=simple
9ExecStart=/usr/bin/rousette
Tomáš Peckad3861ce2022-05-11 11:51:30 +020010User=yangnobody
11Group=yangnobody
12SupplementaryGroups=sysrepo optics
Jan Kundrátb41f0082021-03-09 22:20:35 +010013PrivateTmp=yes
14PrivateDevices=yes
15ProtectSystem=yes
16ProtectHome=yes
17Restart=always
18RestartSec=10s
19LogRateLimitIntervalSec=10
20LogRateLimitBurst=30000
21SyslogLevel=alert
Jan Kundrátb41f0082021-03-09 22:20:35 +010022
23[Install]
24WantedBy=multi-user.target