This file is indexed.

/etc/init/zabbix-proxy.conf is in zabbix-proxy-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 proxy

description "Zabbix proxy"
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 proxy to properly disconnect from server and agents before killing it
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-proxy ] && { stop; exit 0; }

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

  # 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-proxy

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