mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-10-31 10:31:50 +00:00 
			
		
		
		
	 489faf5e4a
			
		
	
	
		489faf5e4a
		
	
	
	
	
		
			
			systemd's %n already includes the type suffix (.service) Signed-off-by: Simon Deziel <simon@sdeziel.info>
		
			
				
	
	
		
			27 lines
		
	
	
		
			584 B
		
	
	
	
		
			SYSTEMD
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			584 B
		
	
	
	
		
			SYSTEMD
		
	
	
	
	
	
| [Unit]
 | |
| Description=FRRouting
 | |
| Documentation=https://frrouting.readthedocs.io/en/latest/setup.html
 | |
| Wants=network.target
 | |
| After=network-pre.target systemd-sysctl.service
 | |
| Before=network.target
 | |
| OnFailure=heartbeat-failed@%n
 | |
| 
 | |
| [Service]
 | |
| Nice=-5
 | |
| Type=forking
 | |
| NotifyAccess=all
 | |
| StartLimitInterval=3m
 | |
| StartLimitBurst=3
 | |
| TimeoutSec=2m
 | |
| WatchdogSec=60s
 | |
| RestartSec=5
 | |
| Restart=on-abnormal
 | |
| LimitNOFILE=1024
 | |
| PIDFile=@CFG_STATE@/%I/watchfrr.pid
 | |
| ExecStart=@CFG_SBIN@/frrinit.sh start %I
 | |
| ExecStop=@CFG_SBIN@/frrinit.sh stop %I
 | |
| ExecReload=@CFG_SBIN@/frrinit.sh reload %I
 | |
| 
 | |
| [Install]
 | |
| WantedBy=multi-user.target
 |