~ubuntu-dev/ubuntu/lucid/zabbix/lucid-201002101903

« back to all changes in this revision

Viewing changes to debian/zabbix-server-mysql.zabbix-server.init

  • Committer: Bazaar Package Importer
  • Author(s): Michael Ablassmeier
  • Date: 2009-04-05 19:10:27 UTC
  • mfrom: (1.1.9 upstream) (8.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090405191027-lxd44l6jqdcfp2bi
Tags: 1:1.6.4-1
* New upstream release.
* Fix zabbix-frontend-php.template, add missing questions for
  zabbix-server and port (Closes: #522076)
* Loosen up depends for libgnutls (Closes: #522074)

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
DAEMON=/usr/sbin/zabbix_server
11
11
NAME=zabbix_server
12
12
DESC="Zabbix server"
13
 
PID=/var/run/zabbix-server/$NAME.pid
14
13
 
15
14
test -f $DAEMON || exit 0
16
15
 
 
16
DIR=/var/run/zabbix-server
 
17
PID=$DIR/$NAME.pid
 
18
 
 
19
if test ! -d "$DIR"; then
 
20
        mkdir "$DIR"
 
21
        chown -R zabbix:zabbix "$DIR"
 
22
fi
 
23
 
17
24
set -e
18
25
 
19
26
export PATH="${PATH:+$PATH:}/usr/sbin:/sbin"