added latest ebuild for radicale (v 0.7)
This commit is contained in:
		
							parent
							
								
									6f7d4f8241
								
							
						
					
					
						commit
						911136e10a
					
				
					 5 changed files with 136 additions and 0 deletions
				
			
		
							
								
								
									
										29
									
								
								app-office/radicale/files/radicale.init.d
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								app-office/radicale/files/radicale.init.d
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,29 @@ | |||
| #!/sbin/runscript | ||||
| # Copyright 1999-2010 Gentoo Foundation | ||||
| # Distributed under the terms of the GNU General Public License v2 | ||||
| # $Header: $ | ||||
| 
 | ||||
| PIDFILE=/var/run/radicale.pid | ||||
| 
 | ||||
| depend() { | ||||
|     use net | ||||
|     need localmount | ||||
| } | ||||
| 
 | ||||
| start() { | ||||
|     touch /var/log/radicale | ||||
|     chown radicale:radicale /var/log/radicale | ||||
|     ebegin "Starting radicale" | ||||
|         start-stop-daemon --start --quiet --background \ | ||||
|         --user radicale \ | ||||
|         --pidfile ${PIDFILE} --make-pidfile \ | ||||
|         --exec /usr/bin/radicale -- --foreground | ||||
|     eend $? | ||||
| } | ||||
| 
 | ||||
| stop() { | ||||
|     ebegin "Stopping radicale" | ||||
|         start-stop-daemon --stop --quiet \ | ||||
|         --pidfile ${PIDFILE} | ||||
|     eend $? | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue