blob: b643175df4b5f54170da498a6498a9591874793b [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 +020010SupplementaryGroups=sysrepo optics
Jan Kundrátb41f0082021-03-09 22:20:35 +010011PrivateTmp=yes
12PrivateDevices=yes
13ProtectSystem=yes
14ProtectHome=yes
15Restart=always
16RestartSec=10s
17LogRateLimitIntervalSec=10
18LogRateLimitBurst=30000
19SyslogLevel=alert
Jan Kundrátb41f0082021-03-09 22:20:35 +010020
21[Install]
22WantedBy=multi-user.target