Skip to content

Commit

Permalink
Merge branch 'master' of github.com:amonapp/amonagent
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrusev committed Feb 17, 2017
2 parents 7ac6124 + bd914e7 commit f8b26e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The Amon agent reports metrics to our service.
Create the /etc/apt/sources.list.d/amonagent.list list file using the following command:


echo 'deb http://packages.amon.cx/repo amon contrib' | sudo tee /etc/apt/sources.list.d/amonagent.list
echo 'deb https://packages.amon.cx/repo amon contrib' | sudo tee /etc/apt/sources.list.d/amonagent.list


3. **Reload local package database and install** <br>
Expand All @@ -39,7 +39,7 @@ Create a /etc/yum.repos.d/amonagent.repo file to hold the following configuratio

[amonagent]
name=Amonagent Repository
baseurl=http://packages.amon.cx/rpm/
baseurl=https://packages.amon.cx/rpm/
gpgcheck=0
enabled=1
priority=1
Expand Down
4 changes: 1 addition & 3 deletions packaging/postrm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,9 @@ elif [[ -f /etc/debian_version ]]; then
which systemctl &>/dev/null
if [[ $? -eq 0 ]]; then
disable_systemd
deb-systemd-invoke stop amonagent.service
else
# Assuming sysv
disable_update_rcd
invoke-rc.d amonagent stop
fi
fi
fi
fi

0 comments on commit f8b26e4

Please sign in to comment.