diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2014-10-22 13:07:17 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2014-10-22 13:07:25 +0000 |
commit | a97b99feceb836178d0a333f94699c94bcce1549 (patch) | |
tree | 289f1aebb821dcfdfd47e2e211eed9bfd6fa2756 /testing/yadifa/yadifa.post-install | |
parent | 0072d1d51e0b6f7368da3b198d6ebdab29b94461 (diff) | |
download | aports-a97b99feceb836178d0a333f94699c94bcce1549.tar.bz2 aports-a97b99feceb836178d0a333f94699c94bcce1549.tar.xz |
testing/yadifa: feature #3443
Diffstat (limited to 'testing/yadifa/yadifa.post-install')
-rwxr-xr-x | testing/yadifa/yadifa.post-install | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/yadifa/yadifa.post-install b/testing/yadifa/yadifa.post-install new file mode 100755 index 0000000000..7b614a60ae --- /dev/null +++ b/testing/yadifa/yadifa.post-install @@ -0,0 +1,8 @@ +#!/bin/sh +sed -i -e "s/daemon.*/daemon\ton/" /etc/yadifa/yadifad.conf >&2 +sed -i -e "s/logpath.*/logpath\t\t\"\/var\/log\/yadifa\"/" /etc/yadifa/yadifad.conf >&2 +sed -i -e "s/pidpath.*/pidpath\t\t\"\/var\/run\"/" /etc/yadifa/yadifad.conf >&2 +sed -i -e "s/chroot.*/chroot\ton/" /etc/yadifa/yadifad.conf >&2 +sed -i -e "s/uid.*/uid\tyadifa/" /etc/yadifa/yadifad.conf >&2 +sed -i -e "s/gid.*/gid\tyadifa/" /etc/yadifa/yadifad.conf >&2 +exit 0 |