blob: ba9efbb048bbaad622d304f2f1f0893744bd20e7 [file] [log] [blame]
Jan Kundrátb41f0082021-03-09 22:20:35 +01001[Unit]
2Description=RESTCONFish server
Tomáš Pecka04eb7372022-06-07 08:03:04 +02003After=syslog.target network.target cfg-restore-sysrepo.service czechlight-migrate.service nacm-restore.service
Jan Kundrátb41f0082021-03-09 22:20:35 +01004PartOf=netopeer2.service
Tomáš Pecka04eb7372022-06-07 08:03:04 +02005Requires=cfg-restore-sysrepo.service czechlight-migrate.service nacm-restore.service
Jan Kundrátb41f0082021-03-09 22:20:35 +01006
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