added ebuild for nexus 2.10. it has not been tested yet.
This commit is contained in:
		
							parent
							
								
									3dcddebbcd
								
							
						
					
					
						commit
						3454ba60cf
					
				
					 3 changed files with 74 additions and 0 deletions
				
			
		
							
								
								
									
										26
									
								
								dev-java/nexus-oss-bin/files/init.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								dev-java/nexus-oss-bin/files/init.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,26 @@ | |||
| #!/sbin/runscript | ||||
| 
 | ||||
| depend() { | ||||
|     need net | ||||
|     use dns logger | ||||
| } | ||||
| 
 | ||||
| RUN_AS=nexus | ||||
| 
 | ||||
| checkconfig() { | ||||
|     return 0 | ||||
| } | ||||
| 
 | ||||
| start() { | ||||
|     checkconfig || return 1 | ||||
| 
 | ||||
|     ebegin "Starting ${SVCNAME}" | ||||
|     su $RUN_AS -c "/opt/nexus/nexus-oss-webapp/bin/jsw/linux-x86-32/wrapper start" | ||||
|     eend $? | ||||
| } | ||||
| 
 | ||||
| stop() { | ||||
|     ebegin "Stopping ${SVCNAME}" | ||||
|     su $RUN_AS -c "/opt/nexus/nexus-oss-webapp/bin/jsw/linux-x86-32/wrapper stop" | ||||
|     eend $? | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue