Compare commits

...

19 Commits

Author SHA1 Message Date
Thorsten Eckel
1a1b661714 Fixed typo. 2015-07-16 09:50:18 +02:00
Roy Kaldung
6081a98279 Update README.md 2015-01-12 12:39:26 +01:00
Roy Kaldung
157991c33d Update README.md 2015-01-12 12:38:11 +01:00
Roy Kaldung
ef67be9170 We like to know if it's starting or stopping 2014-11-06 17:24:45 +01:00
Martin Edenhofer
39f3819303 Merge branch 'develop' 2014-11-06 16:13:39 +01:00
Martin Edenhofer
7a676bd563 Merge branch 'develop' into 'master', goto next level.
Conflicts:
	Gemfile
	README.md
	extras/zammad.spec
2014-10-05 20:42:39 +02:00
Roy Kaldung
80c54daa03 Delete httpd.spec 2014-05-02 12:47:51 +02:00
Roy Kaldung
99c88cde62 Delete apr.spec 2014-05-02 12:47:41 +02:00
Roy Kaldung
17d113ca20 removed old file 2014-05-02 12:47:18 +02:00
Martin Edenhofer
2fbf4324a7 Update Gemfile 2014-02-22 14:46:25 +01:00
Roy Kaldung
b46c390d30 minor change to test GitHub hook (automatic deploy) 2013-12-04 18:22:21 +01:00
Martin Edenhofer
3c3651bc52 Merge branch 'develop'
Conflicts:
	app/controllers/tickets_controller.rb
2013-09-20 13:52:53 +02:00
Roy Kaldung
abeeb5e66d Updated Build Status image URL 2013-08-23 21:00:55 +02:00
rkaldung
09d61ce4c8 added dependency 2013-08-14 20:38:09 +02:00
rkaldung
cc1c4495b2 Merge branch 'master' of github.com:martini/zammad 2013-08-14 20:27:15 +02:00
rkaldung
7b1ec4d17f modified install section 2013-08-14 20:26:25 +02:00
rkaldung
99b3201ccf added initial spec for rpm 2013-08-14 20:20:55 +02:00
Roy Kaldung
d4205d9ba6 removed Windows ;-) 2013-08-14 20:08:23 +02:00
Roy Kaldung
8d57633390 minor changes on comments 2013-08-05 19:18:52 +02:00
5 changed files with 58 additions and 11 deletions

View File

@@ -1,11 +1,11 @@
[![Build Status](http://ci.zammad.org/buildStatus/icon?job=ZammadUnittest-ruby-2.0.0-p195)](http://ci.zammad.org/job/ZammadUnittest-ruby-2.0.0-p195/)
[![Build Status develop](http://ci.zammad.org/buildStatus/icon?job=Zammad Unittest Develop)](http://ci.zammad.org/job/Zammad%20Unittest%20Develop/) [![Build Status master](http://ci.zammad.org/buildStatus/icon?job=Zammad Unittest Master)](http://ci.zammad.org/job/Zammad%20Unittest%20Master/)
Welcome to Zammad
=================
Zammad is a web based open source helpdesk/ticket system with many features
to manage customer telephone calls and e-mails. It is distributed under the
GNU AFFERO General Public License (AGPL) and tested on Linux, Solaris, AIX,
Windows, FreeBSD, OpenBSD and Mac OS 10.x. Do you receive many e-mails and
GNU AFFERO General Public License (AGPL) and tested on Linux, Solaris, AIX,
FreeBSD, OpenBSD and Mac OS 10.x. Do you receive many e-mails and
want to answer them with a team of agents? You're going to love Zammad!

View File

@@ -75,8 +75,8 @@
### Get Zammad
* cd /var/www/zammad
* wget http://zammad.org/zammad-1.0.1.tar.gz
* tar -xzf zammad-1.0.1.tar.gz
* wget http://zammad.org/zammad-latest.tar.gz
* tar -xzf zammad-latest.tar.gz
### Edit Gemfile
* vi Gemfile

View File

@@ -1,3 +1,51 @@
%define user zammad
%define group zammad
%define basedir /opt/zammad
Summary: A request tracking tool.
Name: zammad
Version: 0.4
Release: 1%{?dist}.zammad
Copyright: AGPL
Group: Applications/Web
Source: http://download.zammad.org/latest.tar.bz2
URL: http://zammad.org/documentation
Vendor: Zammad Foundation
Packager: Roy Kaldung <roy@kaldung.com>
Requires: nginx >= 1.4, libv8
Requires(pre): shadow-utils
Requires(post): chkconfig
%description
Zammad is a web based open source helpdesk/ticket system
with many features to manage customer telephone calls and
e-mails. It is distributed under the GNU AFFERO General
Public License (AGPL) and tested on Linux, Solaris, AIX,
FreeBSD, OpenBSD and Mac OS 10.x. Do you receive many
e-mails and want to answer them with a team of agents?
You're going to love Zammad!
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{basedir}
mkdir -p $RPM_BUILD_ROOT/etc
cd $RPM_BUILD_ROOT/etc
ln -s $RPM_BUILD_ROOT%{basedir}/config etc/zammad
%files
%doc /opt/zammad/doc/README
%doc /opt/zammad/doc/X-Headers.txt
/opt/zammad/doc/app
/opt/zammad/
%config /opt/zammad/config
%pre
/usr/bin/getent group %{group} > /dev/null || /usr/sbin/groupadd -r %{group}
/usr/bin/getent passwd %{user} > /dev/null || /usr/sbin/useradd -M -n -g %{group}-r -d /opt/zammad -s /sbin/nologin %{user}
=======
Name: zammad
Version: 0.1
Release: 1%{?dist}
@@ -175,7 +223,7 @@ pushd %{name}
#rm ./log/test.log
#mv ./log $RPM_BUILD_ROOT/%{logdir}
ln -s %{logdir} ./log
#
# Everything left goes in appdir
#
@@ -207,4 +255,3 @@ rm -rf $RPM_BUILD_ROOT
%{logrotatedir}/%{name}
%doc

View File

@@ -1,7 +1,7 @@
#!/bin/bash
while true; do
read -p "Do you wish to drop database ane execute all browser tests?" yn
read -p "Do you wish to drop the database and execute all browser tests?" yn
case $yn in
[Yy]* ) echo "Start tests..."; break;;
[Nn]* ) exit;;

View File

@@ -59,10 +59,9 @@ if ARGV[0] != 'start' && ARGV[0] != 'stop'
exit;
end
puts "Starting websocket server on #{ @options[:b] }:#{ @options[:p] } (secure:#{ @options[:s].to_s },pid:#{@options[:i].to_s})"
#puts options.inspect
if ARGV[0] == 'stop'
puts "Stopping websocket server"
# read pid
pid =File.open( @options[:i].to_s ).read
@@ -72,6 +71,7 @@ if ARGV[0] == 'stop'
Process.kill( 9, pid.to_i )
exit
end
puts "Starting websocket server on #{ @options[:b] }:#{ @options[:p] } (secure:#{ @options[:s].to_s },pid:#{@options[:i].to_s})"
if ARGV[0] == 'start' && @options[:d]
Daemons.daemonize