create zammad user and added requirements
This commit is contained in:
parent
91d24aa1cd
commit
96085b9183
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,8 @@ Version: 0.0
|
||||||
License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007
|
License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007
|
||||||
Group: Applications/Mail
|
Group: Applications/Mail
|
||||||
Provides: zammad
|
Provides: zammad
|
||||||
|
Requires(pre): /usr/sbin/useradd, /usr/bin/getent
|
||||||
|
Requires(postun): /usr/sbin/userdel
|
||||||
Requires: cronie httpd
|
Requires: cronie httpd
|
||||||
Autoreqprov: no
|
Autoreqprov: no
|
||||||
Release: 01
|
Release: 01
|
||||||
|
@ -27,6 +29,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
<DESCRIPTION>
|
<DESCRIPTION>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
/usr/bin/getent passwd zammad || /usr/sbin/useradd -d /opt/zammad -s /bin/bash zammad
|
||||||
#%setup
|
#%setup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
Loading…
Reference in a new issue