mirror of https://github.com/OISF/suricata
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			17 lines
		
	
	
		
			585 B
		
	
	
	
		
			INI
		
	
			
		
		
	
	
			17 lines
		
	
	
		
			585 B
		
	
	
	
		
			INI
		
	
| # Sample Suricata systemd unit file.
 | |
| [Unit]
 | |
| Description=Suricata Intrusion Detection Service
 | |
| After=syslog.target network-online.target
 | |
| 
 | |
| [Service]
 | |
| # Environment file to pick up $OPTIONS. On Fedora/EL this would be
 | |
| # /etc/sysconfig/suricata, or on Debian/Ubuntu, /etc/default/suricata.
 | |
| #EnvironmentFile=-/etc/sysconfig/suricata
 | |
| #EnvironmentFile=-/etc/default/suricata
 | |
| ExecStartPre=/bin/rm -f @e_rundir@suricata.pid
 | |
| ExecStart=/sbin/suricata -c @e_sysconfdir@suricata.yaml --pidfile @e_rundir@suricata.pid $OPTIONS
 | |
| ExecReload=/bin/kill -USR2 $MAINPID
 | |
| 
 | |
| [Install]
 | |
| WantedBy=multi-user.target
 |