Skip to content
Snippets Groups Projects
Commit 597b3049 authored by ale's avatar ale
Browse files

save logs in a more standard location

parent e21b8644
Branches
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ create_users() {
}
create_log_dir() {
logdir=/var/log/radioai
logdir=/var/log
for d in radiod redirectord ; do
mkdir -p ${logdir}/${d}
chown log:log ${logdir}/${d}
......
......@@ -58,7 +58,7 @@ override_dh_install:
install -d -o root -g root $(SVCDIR)/$$f/log ; \
install -m 755 -o root -g root $(CURDIR)/debian/services/$$f \
$(SVCDIR)/$$f/run ; \
echo '#!/bin/sh\nexec chpst -u log svlogd -tt /var/log/radioai/'$$f > \
echo '#!/bin/sh\nexec chpst -u log svlogd -tt /var/log/'$$f > \
$(SVCDIR)/$$f/log/run ; \
chmod 0755 $(SVCDIR)/$$f/log/run ; \
done)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment