aboutsummaryrefslogtreecommitdiffstats
path: root/community/yadifa/yadifa.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/yadifa/yadifa.post-install')
-rwxr-xr-xcommunity/yadifa/yadifa.post-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/community/yadifa/yadifa.post-install b/community/yadifa/yadifa.post-install
new file mode 100755
index 0000000000..87816a60f8
--- /dev/null
+++ b/community/yadifa/yadifa.post-install
@@ -0,0 +1,5 @@
+#!/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.*/pidfile\t\t\"\/var\/run\/yadifa\/yadifa\.pid\"/" /etc/yadifa/yadifad.conf >&2
+exit 0