CC-3374: Ability to use eclipse to run/debug our python services. Script to prepare environment and make this possbile

-pypo-notify wasn't working in debug env
This commit is contained in:
Martin Konecny 2012-03-01 18:00:31 -05:00
parent 323aec218f
commit 300562ae59
1 changed files with 3 additions and 4 deletions

View File

@ -17,8 +17,8 @@ if [ "$1" = "--enable" ]; then
user=$2
echo "Changing ownership to user $1"
chown -Rv $user:$user /var/log/airtime/pypo
chown -v $user:$user /etc/airtime/pypo.cfg
chmod -R a+rw /var/log/airtime/pypo
chmod a+r /etc/airtime/pypo.cfg
chown -Rv $user:$user /var/tmp/airtime/pypo/
chmod -v a+r /etc/airtime/api_client.cfg
elif [ "$1" = "--disable" ]; then
@ -26,8 +26,7 @@ elif [ "$1" = "--disable" ]; then
user="pypo"
echo "Changing ownership to user $1"
chown -Rv $user:$user /var/log/airtime/pypo
chown -v $user:$user /etc/airtime/pypo.cfg
chmod 644 /etc/airtime/pypo.cfg
chown -Rv $user:$user /var/tmp/airtime/pypo/
chmod -v a+r /etc/airtime/api_client.cfg