added files ...
This commit is contained in:
		
							parent
							
								
									414ac68e1f
								
							
						
					
					
						commit
						cb754d77cd
					
				
					 3 changed files with 68 additions and 0 deletions
				
			
		
							
								
								
									
										26
									
								
								app-office/radicale/files/radicale.init.d
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								app-office/radicale/files/radicale.init.d
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,26 @@ | |||
| #!/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() { | ||||
|     ebegin "Starting radicale" | ||||
|         start-stop-daemon --start --quiet --background \ | ||||
|         --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