diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2017-02-16 03:19:13 +0200 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-02-16 07:24:05 +0000 |
commit | bec0e79ed2237c7240744b9102994da583018267 (patch) | |
tree | 2e16c372228a482c6f87f9510c3a7da70ee5c15d /testing/otrs/otrs-setup.post-install | |
parent | c868fc7f8cd280a65dd6c3440a5596a37cca834c (diff) | |
download | aports-bec0e79ed2237c7240744b9102994da583018267.tar.bz2 aports-bec0e79ed2237c7240744b9102994da583018267.tar.xz |
testing/otrs: new aport
Flexible Open Source Service Management Software
http://www.otrs.org/
Diffstat (limited to 'testing/otrs/otrs-setup.post-install')
-rw-r--r-- | testing/otrs/otrs-setup.post-install | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/otrs/otrs-setup.post-install b/testing/otrs/otrs-setup.post-install new file mode 100644 index 0000000000..c3f2df42b4 --- /dev/null +++ b/testing/otrs/otrs-setup.post-install @@ -0,0 +1,33 @@ +#!/bin/sh + +/var/lib/otrs/bin/otrs.SetPermissions.pl --web-group=www-data >/dev/null + +su -s /bin/sh otrs -c "/var/lib/otrs/bin/otrs.CheckModules.pl" + +cat <<EOF +---------------------------------------------------------- +* +* Inital setup: +* 1. configure and restart web server +* - apache: otrs-apache2 +* - nginx: otrs-nginx (fastcgi service) +* - include /etc/nginx/otrs.conf somewhere in 'server' section +* - enable and start fastcgi service +* - fastcgi service +* - rc-update add spawn-fcgi.otrs +* - service spawn-fcgi.otrs start +* 2. add corresponding database driver: +* - mysql: perl-dbd-mysql +* - postgress: perl-dbd-pg +* 3. go online and continue setup +* - http://$(hostname -f)/otrs/installer.pl +* 4. enable and start otrs service +* - rc-update add otrs +* - service otrs start +* 5. enjoy :) +* +* After setup complete, you can safely remove otrs-setup +* +EOF + +exit 0 |