Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kwabena Antwi-Boasiako
slapos
Commits
661e13d3
Commit
661e13d3
authored
May 23, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set daemon_user and daemon_group to current user in amavisd.conf.in
parent
2345c330
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
software/zimbra/buildout.cfg
software/zimbra/buildout.cfg
+4
-0
No files found.
software/zimbra/buildout.cfg
View file @
661e13d3
...
@@ -210,7 +210,11 @@ command =
...
@@ -210,7 +210,11 @@ command =
find . -name LocalConfig.java -exec sed -i 's#= FS + "opt" + FS + "zimbra"#= "${:ZIMBRA_HOME}"#g' {} \;
find . -name LocalConfig.java -exec sed -i 's#= FS + "opt" + FS + "zimbra"#= "${:ZIMBRA_HOME}"#g' {} \;
SUB1='s#/opt/zimbra#${:ZIMBRA_HOME}#g'
SUB1='s#/opt/zimbra#${:ZIMBRA_HOME}#g'
SUB2='1{s|^#!/usr/bin/perl|#!${:PERL_BINARY}|}'
SUB2='1{s|^#!/usr/bin/perl|#!${:PERL_BINARY}|}'
GROUP_NAME=`id -gn`
USER_NAME=`id -un`
find . -name '.git' -prune -o -type f -exec sed -i "$SUB1;$SUB2" {} \;
find . -name '.git' -prune -o -type f -exec sed -i "$SUB1;$SUB2" {} \;
sed -i "s|\$daemon_user *= *'zimbra';|\$daemon_user = '$USER_NAME';|" ZimbraServer/conf/amavisd.conf.in
sed -i "s|\$daemon_group *= *'zimbra';|\$daemon_group = '$GROUP_NAME';|" ZimbraServer/conf/amavisd.conf.in
[zimbra-build]
[zimbra-build]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment