17 lines
		
	
	
		
			422 B
		
	
	
	
		
			SYSTEMD
		
	
	
	
	
	
		
		
			
		
	
	
			17 lines
		
	
	
		
			422 B
		
	
	
	
		
			SYSTEMD
		
	
	
	
	
	
| 
								 | 
							
								[Unit]
							 | 
						||
| 
								 | 
							
								Description=AniNIX/IRC | Anope Services
							 | 
						||
| 
								 | 
							
								Requires=network.target
							 | 
						||
| 
								 | 
							
								After=network.target
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[Service]
							 | 
						||
| 
								 | 
							
								Type=simple
							 | 
						||
| 
								 | 
							
								PIDFile=/run/anope/anope.pid
							 | 
						||
| 
								 | 
							
								ExecStart=/opt/anope/bin/services --confdir=/etc/anope/ --dbdir=/opt/anope/data --localedir=/opt/anope/locale --logdir=/var/log/anope --modulesdir=/opt/anope/lib --nofork
							 | 
						||
| 
								 | 
							
								ExecReload=/bin/kill -1 $MAINPID
							 | 
						||
| 
								 | 
							
								Restart=always
							 | 
						||
| 
								 | 
							
								User=ircd
							 | 
						||
| 
								 | 
							
								Group=ircd
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[Install]
							 | 
						||
| 
								 | 
							
								WantedBy=multi-user.target
							 |