[ZBX-10567] Init scripts included with the source for Debian not working. Created: 2016 Mar 23  Updated: 2017 May 30

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Installation (I)
Affects Version/s: 3.0.1
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: finalbeta Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: initscripts
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian


Attachments: Text File zabbix_proxy.txt    
Issue Links:
Duplicate
duplicates ZBX-5431 Debian init scripts misses LSB tags Closed

 Description   

The init scripts (for agent/server) included with the source code for Debian, do not work on the last two versions of Debian.
A headers needs te be added to the init scripts to make them work. The header should like like. It took me a while to figure that out, so it would be nice for others if the init scripts would be updated.

#!/bin/sh 
### BEGIN INIT INFO
# Provides:          zabbix-proxy
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Init script for zabbix-proxy
# Description: Init script for zabbix-proxy
### END INIT INFO
#
# Zabbix proxy start/stop script.
#


 Comments   
Comment by finalbeta [ 2016 Mar 23 ]

I've attached an example script. JIRA formatted my previous paste wrong.

Generated at Sat Mar 15 07:22:03 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.