-
Problem report
-
Resolution: Fixed
-
Trivial
-
5.0.0
-
None
-
Debian 10.4
-
Sprint 64 (May 2020), Sprint 65 (Jun 2020), Sprint 66 (Jul 2020)
-
0.125
Steps to reproduce:
- Install zabbix-agent on debian 10.4
- Run "systemctl enable zabbix-agent
Result:
This creates the file: /etc/init.d/zabbix-agent with different actions for start, stop, status, restart and a default action.
The default action defines:
echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload|status}" >&2
/etc/init.d/$NAME does not resolve to the correct file name.
Expected:
The command should better be like:
echo "Usage: $0 {start|stop|restart|force-reload|status}" >&2
This resolves always to the correct script name.