From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/zabbix/files/1.6.6/init.d: zabbix-agentd zabbix-server |
Date: | Mon, 05 Oct 2009 15:55:25 |
Message-Id: | E1MupuF-0004y2-J1@stork.gentoo.org |
1 | patrick 09/10/05 15:55:23 |
2 | |
3 | Added: zabbix-agentd zabbix-server |
4 | Log: |
5 | Bump to 1.6.6, closes #286655 |
6 | (Portage version: 2.2_rc43/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-analyzer/zabbix/files/1.6.6/init.d/zabbix-agentd |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/zabbix/files/1.6.6/init.d/zabbix-agentd?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/zabbix/files/1.6.6/init.d/zabbix-agentd?rev=1.1&content-type=text/plain |
13 | |
14 | Index: zabbix-agentd |
15 | =================================================================== |
16 | #!/sbin/runscript |
17 | # Copyright 1999-2007 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix/files/1.6.6/init.d/zabbix-agentd,v 1.1 2009/10/05 15:55:23 patrick Exp $ |
20 | |
21 | depend() { |
22 | need net |
23 | provide zabbix-agent |
24 | use zabbix-server |
25 | } |
26 | |
27 | start() { |
28 | ebegin "Starting Zabbix agent" |
29 | start-stop-daemon --start -c zabbix:zabbix --exec /usr/sbin/zabbix_agentd |
30 | eend $? |
31 | } |
32 | |
33 | stop() { |
34 | ebegin "Stopping Zabbix agent" |
35 | start-stop-daemon --stop -u zabbix --pidfile /var/run/zabbix/zabbix_agentd.pid |
36 | eend $? |
37 | } |
38 | |
39 | |
40 | |
41 | 1.1 net-analyzer/zabbix/files/1.6.6/init.d/zabbix-server |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/zabbix/files/1.6.6/init.d/zabbix-server?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/zabbix/files/1.6.6/init.d/zabbix-server?rev=1.1&content-type=text/plain |
45 | |
46 | Index: zabbix-server |
47 | =================================================================== |
48 | #!/sbin/runscript |
49 | # Copyright 1999-2007 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix/files/1.6.6/init.d/zabbix-server,v 1.1 2009/10/05 15:55:23 patrick Exp $ |
52 | |
53 | depend() { |
54 | need net |
55 | use mysql postgresql |
56 | } |
57 | |
58 | start() { |
59 | ebegin "Starting Zabbix server" |
60 | start-stop-daemon --start -c zabbix:zabbix --exec /usr/sbin/zabbix_server |
61 | eend $? |
62 | } |
63 | |
64 | stop() { |
65 | ebegin "Stopping Zabbix server" |
66 | start-stop-daemon --stop -u zabbix --pidfile /var/run/zabbix/zabbix_server.pid |
67 | eend $? |
68 | } |