aboutsummaryrefslogtreecommitdiffstats
path: root/testing/yadifa/yadifa.post-install
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2014-10-22 16:25:12 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2014-10-22 16:25:17 +0000
commitde1486968e25bae0492dcdfdb62428b31681f062 (patch)
tree5b916abf83fc96731e2a00f130e3dd03ac90c789 /testing/yadifa/yadifa.post-install
parentf453e8a6a287df5bfc429cd244202e504522ede0 (diff)
downloadaports-de1486968e25bae0492dcdfdb62428b31681f062.tar.bz2
aports-de1486968e25bae0492dcdfdb62428b31681f062.tar.xz
testing/yadifa: removed yadifa user, fixed permissions and changed pidpath with pidfile in conf
Diffstat (limited to 'testing/yadifa/yadifa.post-install')
-rwxr-xr-xtesting/yadifa/yadifa.post-install13
1 files changed, 7 insertions, 6 deletions
diff --git a/testing/yadifa/yadifa.post-install b/testing/yadifa/yadifa.post-install
index 7b614a60ae..24dc52af71 100755
--- a/testing/yadifa/yadifa.post-install
+++ b/testing/yadifa/yadifa.post-install
@@ -1,8 +1,9 @@
#!/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
+#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.*/pidfile\t\t\"\/var\/run\/yadifa\"/" /etc/yadifa/yadifad.conf >&2
+
+sed -i -e "s/daemon.*/daemon\ton/" yadifad.conf >&2
+sed -i -e "s/logpath.*/logpath\t\t\"\/var\/log\/yadifa\"/" yadifad.conf >&2
+sed -i -e "s/pidpath.*/pidfile\t\t\"\/var\/run\/yadifa\"/" yadifad.conf >&2
exit 0