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