summarylogtreecommitdiffstats
path: root/zabbix-server.install
diff options
context:
space:
mode:
authorIdares2016-03-02 16:27:46 +0100
committerIdares2016-03-02 16:27:46 +0100
commit4a92302f2f7d46264382462f1c93f4ac15d285ce (patch)
treeaac31db84633bb079e62df27028fdaf60bae284b /zabbix-server.install
parent144cf42408e9f7459a882b00fff8c6c7ac6cd684 (diff)
downloadaur-4a92302f2f7d46264382462f1c93f4ac15d285ce.tar.gz
Update to 3.0.1-2.
Diffstat (limited to 'zabbix-server.install')
-rwxr-xr-xzabbix-server.install17
1 files changed, 9 insertions, 8 deletions
diff --git a/zabbix-server.install b/zabbix-server.install
index e25d6b92f149..b3db88119ed5 100755
--- a/zabbix-server.install
+++ b/zabbix-server.install
@@ -2,11 +2,11 @@ post_install() {
getent group zabbix > /dev/null || groupadd -r zabbix > /dev/null
getent passwd zabbix > /dev/null || useradd -r -g zabbix -d /dev/null zabbix -m > /dev/null
- chown -R zabbix:zabbix /var/log/zabbix /etc/zabbix /usr/share/zabbix /srv/http/zabbix
+ chown -R zabbix:zabbix /var/log/zabbix /etc/zabbix /usr/share/zabbix
systemd-tmpfiles --create zabbix-server.conf
echo "Manual post-installation steps:"
- echo "-------------------------------------------------------------------------------------"
+ echo "-------------------------------------------------------------------------------"
echo "1) Create a PostgreSQL user and database"
echo "psql -U <username>"
echo "psql> create database zabbix; "
@@ -19,9 +19,9 @@ post_install() {
echo "3) Configure /etc/zabbix/zabbix_server.conf"
echo "4) Start zabbix-server"
echo "5) Go to http://localhost/zabbix and follow the setup process"
- echo "-------------------------------------------------------------------------------------"
+ echo "-------------------------------------------------------------------------------"
echo "For more information see http://www.zabbix.com/documentation.php"
- echo "-------------------------------------------------------------------------------------"
+ echo "-------------------------------------------------------------------------------"
}
post_remove() {
@@ -31,10 +31,11 @@ post_remove() {
post_upgrade() {
systemd-tmpfiles --create zabbix-server.conf
- echo "-------------------------------------------------------------------------------------"
+ echo "-------------------------------------------------------------------------------"
echo "html path has been changed to /usr/share/webapps/zabbix"
- echo "If upgrading from version prior to 2.4.2, please update your web server configuration"
- echo "and move /srv/http/zabbix/conf/zabbix.conf.php to /usr/share/webapps/zabbix/conf/zabbix.conf.php"
- echo "-------------------------------------------------------------------------------------"
+ echo "If upgrading from version prior to 2.4.2, please update your web server"
+ echo "configuration and move /srv/http/zabbix/conf/zabbix.conf.php"
+ echo "to /usr/share/webapps/zabbix/conf/zabbix.conf.php"
+ echo "-------------------------------------------------------------------------------"
}