Skip to content
Snippets Groups Projects
Commit 494ca527 authored by Leonardo Arena's avatar Leonardo Arena
Browse files

testing/amavisd-new: default run user/group changed to amavis

parent 9da05bde
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,9 @@ build() {
sed -e "s:^.*\$MYHOME = .*$:\$MYHOME = '$HOME';:" \
-e 's:^.*\$TEMPBASE = .*$:\$TEMPBASE = "\$MYHOME/tmp";:' \
-e 's:^.*\$db_home = .*$:\$db_home = "$MYHOME/db";:' \
-e "s:^.*\$QUARANTINEDIR = .*$:\$QUARANTINEDIR = '$QUARANTINE';:"< amavisd.conf > amavisd.conf.alpine
-e "s:^.*\$QUARANTINEDIR = .*$:\$QUARANTINEDIR = '$QUARANTINE';:" \
-e "s:^.*\$daemon_user = 'vscan';\(.*\)$:\$daemon_user = 'amavis';\1:" \
-e "s:^.*\$daemon_group = 'vscan';\(.*\)$:\$daemon_group = 'amavis';\1:" < amavisd.conf > amavisd.conf.alpine
install -m 640 -o root -D amavisd.conf.alpine ${pkgdir}${CONFIG}
install -m 755 -D ../../amavisd.init $pkgdir/etc/init.d/amavisd
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment