blob: e5dd1d6cee9421ce50b2505fe3317db3e545d0ad [file] [log] [blame]
Václav Kubernát22e240c2021-02-04 10:14:19 +01001[Unit]
2Description=Firewall management via sysrepo
Tomáš Pecka04eb7372022-06-07 08:03:04 +02003After=syslog.target network.target cfg-restore-sysrepo.service czechlight-migrate.service nacm-restore.service
Václav Kubernát22e240c2021-02-04 10:14:19 +01004Before=rauc-mark-good.service
5PartOf=netopeer2.service
Tomáš Pecka04eb7372022-06-07 08:03:04 +02006Requires=cfg-restore-sysrepo.service czechlight-migrate.service nacm-restore.service
Václav Kubernát22e240c2021-02-04 10:14:19 +01007ConditionKernelCommandLine=czechlight
8
9[Service]
10Type=simple
11ExecStart=/usr/bin/veliad-firewall
Tomáš Peckad3861ce2022-05-11 11:51:30 +020012Group=sysrepo
Václav Kubernát22e240c2021-02-04 10:14:19 +010013PrivateTmp=yes
14PrivateDevices=no
15ProtectSystem=yes
16ProtectHome=yes
17Restart=always
18RestartSec=10s
19LogRateLimitIntervalSec=10
20LogRateLimitBurst=30000
21SyslogLevel=alert
22
23[Install]
24WantedBy=multi-user.target