init-script angepasst
This commit is contained in:
		
							parent
							
								
									9cd8ca2bb1
								
							
						
					
					
						commit
						71f0deccc0
					
				
					 3 changed files with 26 additions and 2 deletions
				
			
		|  | @ -1,4 +1,5 @@ | |||
| AUX pyicq-t-0.8-initd 680 RMD160 0b8e2f2147615807abeb65a37c341b5c4035932f SHA1 0e78dcfde66fee25ff3a07040b16b478288f08ea SHA256 02f02bb3ed0aee4505a26e904d3fbef4e40f370f039a67289ec2dd1a194cef9c | ||||
| AUX pyicq-t-0.8.1.5-hashlib.patch 3744 RMD160 63b232028a41a483d7fb00af46d62791bf29b319 SHA1 2ed1faa706c31c0e0485f5d7564f72da514bf5cf SHA256 ff177a0e9c6bafc57c7a4609f9ce1a8041def1c3ced3da9dd0f60fe86dde963f | ||||
| AUX pyicq-t-0.8.1.5-initd 683 RMD160 ac70289702afcc6b84be54bd2ad2c30cf83915f1 SHA1 8d5f2177c9b0ff9e5c85ab812cd1a7844486b22a SHA256 813cd5653e2d1980f090a745b9ff81128d85e15e7ca1c989d6c0ccfad290bd9a | ||||
| DIST pyicqt-0.8.1.5.tar.gz 183865 RMD160 205583d07d938a6d2d5b5af58d1a04682fd8318e SHA1 47606a4f84f6237c391a1c07139f8715913ea2ea SHA256 15ffa7b7d8f2d749492eec3b87bf64f8a429452282ca14e36ba5aee45b5322df | ||||
| EBUILD pyicq-t-0.8.1.5-r1.ebuild 2256 RMD160 466e0b4ebb7ec4d305733e06a9a13b1d7f9b7d4b SHA1 fa14decf088bf9bcd2a5dd108e86f588569cc706 SHA256 1adf159c3636303f0d1347cf02d326765cede1a9e533a1fa05cf0f04bdb0c688 | ||||
| EBUILD pyicq-t-0.8.1.5-r1.ebuild 2251 RMD160 d7d64f6b06adcf2b1d28fa58f25a76ae1c29eceb SHA1 cde5c1056657412152c510bf62d2ffd666e702a0 SHA256 109719a7cf75771b959fcd7819a9edb2b4f42b579f5dec6c544c389cb880d60a | ||||
|  |  | |||
							
								
								
									
										23
									
								
								net-im/pyicq-t/files/pyicq-t-0.8.1.5-initd
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								net-im/pyicq-t/files/pyicq-t-0.8.1.5-initd
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,23 @@ | |||
| #!/sbin/runscript | ||||
| # Copyright 1999-2007 Gentoo Foundation | ||||
| # Distributed under the terms of the GNU General Public License v2 | ||||
| # $Header: /var/cvsroot/gentoo-x86/net-im/pyicq-t/files/pyicq-t-0.8-initd,v 1.2 2007/06/04 20:50:16 griffon26 Exp $ | ||||
| 
 | ||||
| depend() { | ||||
| 	need net | ||||
| 	use jabber-server | ||||
| } | ||||
| 
 | ||||
| start() { | ||||
| 	ebegin "Starting ICQ Jabber Transport" | ||||
| 	start-stop-daemon --start --pidfile /var/run/jabber/pyicq-t.pid --chuid jabber:jabber \ | ||||
| 		--exec /usr/bin/python2.6 INSPATH/pyicq-t.py -- \ | ||||
| 		-b -c /etc/jabber/pyicq-t.xml -l /var/log/jabber/pyicq-t.log | ||||
| 	eend $? | ||||
| } | ||||
| 
 | ||||
| stop() { | ||||
| 	ebegin "Stopping ICQ Jabber Transport" | ||||
| 	start-stop-daemon --stop --quiet --pidfile /var/run/jabber/pyicq-t.pid | ||||
| 	eend $? | ||||
| } | ||||
|  | @ -50,7 +50,7 @@ src_install() { | |||
| 		"s:<pid>[^\<]*</pid>:<pid>/var/run/jabber/${PN}.pid</pid>:" \ | ||||
| 		/etc/jabber/${PN}.xml | ||||
| 
 | ||||
| 	newinitd "${FILESDIR}/${PN}-0.8-initd" ${PN} | ||||
| 	newinitd "${FILESDIR}/${P}-initd" ${PN} | ||||
| 	dosed "s:INSPATH:${inspath}:" /etc/init.d/${PN} | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue