mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-11-01 00:12:26 +01:00 
			
		
		
		
	
							
								
								
									
										18
									
								
								systemd/pilersearch.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								systemd/pilersearch.service
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| [Unit] | ||||
| Description=Searchd for piler daemon | ||||
| After=network.target mariadb.service | ||||
|  | ||||
| [Service] | ||||
| ExecStart=/usr/bin/searchd --config /etc/piler/sphinx.conf | ||||
| ExecStartPre=/bin/bash -c "if [[ ! -d /var/run/piler ]]; then mkdir -p /var/run/piler; chown piler:piler /var/run/piler; fi" | ||||
| PIDFile=/var/run/piler/searchd.pid | ||||
| KillMode=process | ||||
| Restart=on-failure | ||||
| RestartPreventExitStatus=255 | ||||
| Type=forking | ||||
| User=piler | ||||
|  | ||||
|  | ||||
| [Install] | ||||
| WantedBy=multi-user.target | ||||
| Alias=pilersearch.service | ||||
		Reference in New Issue
	
	Block a user