Skip to content

Commit

Permalink
bugfix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
scoopex committed Feb 20, 2024
1 parent bc6cdbb commit 9d56525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension-files/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if (grep -q -P "Ubuntu|Debian|CentOS|Raspbian" /etc/os-release);then
if ( (which systemctl >/dev/null 2>&1) && (systemctl list-unit-files zabbix-agent2.service|grep -q enabled) );then
echo "Restarting zabbix-agent2 with systemctl"
systemctl restart zabbix-agent2.service
elif [ -f /etc/init.d/zabbix-agent ];then
elif [ -f /etc/init.d/zabbix-agent2 ];then
echo "Restarting with /etc/init.d/zabbix-agent2"
/etc/init.d/zabbix-agent2 restart
else
Expand Down

0 comments on commit 9d56525

Please sign in to comment.