]> git.proxmox.com Git - mirror_frr.git/blob - tools/frr.service.in
Merge pull request #8361 from rameshabhinay/change_1
[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=2m
16 WatchdogSec=60s
17 RestartSec=5
18 Restart=on-abnormal
19 LimitNOFILE=1024
20 PIDFile=@CFG_STATE@/watchfrr.pid
21 ExecStart=@CFG_SBIN@/frrinit.sh start
22 ExecStop=@CFG_SBIN@/frrinit.sh stop
23 ExecReload=@CFG_SBIN@/frrinit.sh reload
24
25 [Install]
26 WantedBy=multi-user.target