Skip to content

Commit

Permalink
Remove conditional from posttrans, as it's never invoked on uninstall.
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpeshansky committed Oct 3, 2023
1 parent 63ba1a5 commit 80872d3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions templates/package-scripts/td-agent/rpm/posttrans
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
if [ "$1" = "0" ] ; then
echo "Starting <%= project_name %> ..."
/sbin/service <%= project_name %> start >/dev/null 2>&1 || :
fi
echo "Starting <%= project_name %> ..."
/sbin/service <%= project_name %> start >/dev/null 2>&1 || :

0 comments on commit 80872d3

Please sign in to comment.