summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xetc/miavd.in2
-rw-r--r--miav-server.spec2
2 files changed, 3 insertions, 1 deletions
diff --git a/etc/miavd.in b/etc/miavd.in
index abad632..a167d9c 100755
--- a/etc/miavd.in
+++ b/etc/miavd.in
@@ -40,7 +40,7 @@ start() {
fi
export LD_LIBRARY_PATH=$_PREFIX/lib
- $_BIN --pidfile ${_PID} --config ${_CONF} -D +all &> /dev/null
+ $_BIN --pidfile ${_PID} --config ${_CONF} -D +all --logfile ${_LOG} &> /dev/null
RETVAL=$?
[ $RETVAL -eq 0 ] && success || failure
echo
diff --git a/miav-server.spec b/miav-server.spec
index 27a8df6..22bd902 100644
--- a/miav-server.spec
+++ b/miav-server.spec
@@ -22,10 +22,12 @@ make
%install
%make_install
+mkdir var/log/miavd
%files
%defattr(-,root,root,-)
/usr/bin/miavd
+/var/log/miavd
%attr(755, root, root) /etc/init.d/miavd
%config(noreplace) /etc/miav