]> git.proxmox.com Git - mirror_frr.git/blob - tools/frr@.service.in
Merge pull request #12673 from chiragshah6/fdev1
[mirror_frr.git] / tools / frr@.service.in
1 [Unit]
2 Description=FRRouting
3 Documentation=https://frrouting.readthedocs.io/en/latest/setup.html
4 Wants=network.target
5 After=network-pre.target systemd-sysctl.service
6 Before=network.target
7 OnFailure=heartbeat-failed@%n
8
9 [Service]
10 Nice=-5
11 Type=forking
12 NotifyAccess=all
13 StartLimitInterval=3m
14 StartLimitBurst=3
15 TimeoutSec=@TIMEOUT_MIN@m
16 WatchdogSec=60s
17 RestartSec=5
18 Restart=always
19 LimitNOFILE=1024
20 PIDFile=@CFG_STATE@/%I/watchfrr.pid
21 ExecStart=@CFG_SBIN@/frrinit.sh start %I
22 ExecStop=@CFG_SBIN@/frrinit.sh stop %I
23 ExecReload=@CFG_SBIN@/frrinit.sh reload %I
24
25 [Install]
26 WantedBy=multi-user.target