This file is indexed.

/etc/init/zabbix-server.conf is in zabbix-server-pgsql 1:2.2.2+dfsg-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Upstart job to start the zabbix server

description "Zabbix server"
author "Christian Kampka <chris@emerge-life.de>"

start on (filesystem and net-device-up IFACE=lo)
stop on runlevel [!2345]

expect daemon

respawn

# wait for server to properly disconnect from connected nodes
kill timeout 30

console log

env DIR="/var/run/zabbix"

pre-start script

  # stop job from continuing if no config file found for daemon
  [ ! -f /etc/default/zabbix-server ] && { stop; exit 0; }

  # source the config file
  . /etc/default/zabbix-server

  # stop job from continuing if admin has not enabled service in
  # config file.
  [ "x$START" = "xyes" ] || { stop; exit 0; }

  [ -d "$DIR" ] || mkdir "$DIR"
  chown -R zabbix:zabbix "$DIR"

end script

script
  . /etc/default/zabbix-server

  exec /usr/sbin/zabbix_server -c $CONFIG_FILE
end script