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:
parent
323aec218f
commit
300562ae59
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue