CC-2169 : All logging should go to /var/log

moving pypo/recorder logs to folder /var/log/airtime
This commit is contained in:
Naomi 2011-04-14 16:03:23 -04:00
parent 6899dca0a3
commit e5f2e8d044
6 changed files with 10 additions and 10 deletions

View file

@ -1,2 +1,2 @@
#!/bin/sh
exec setuidgid pypo multilog t ./main
exec setuidgid pypo multilog t /var/log/airtime/pypo/main

View file

@ -72,9 +72,9 @@ try:
create_user("pypo")
print "Creating log directories"
create_path("/var/log/pypo")
os.system("chmod -R 755 /var/log/pypo")
os.system("chown -R pypo:pypo /var/log/pypo")
create_path("/var/log/airtime/pypo")
os.system("chmod -R 755 /var/log/airtime/pypo")
os.system("chown -R pypo:pypo /var/log/airtime/pypo")
create_path(BASE_PATH)
create_path(BASE_PATH+"bin")

View file

@ -32,7 +32,7 @@ try:
os.system("python %s/pypo-stop.py" % get_current_script_dir())
print "Removing log directories"
remove_path("/var/log/pypo")
remove_path("/var/log/airtime/pypo")
print "Removing pypo files"
remove_path(BASE_PATH)