-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.sh
More file actions
17 lines (17 loc) · 779 Bytes
/
server.sh
File metadata and controls
17 lines (17 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
case $1 in
12.0)
./12.0/community/odoo-bin --addons=12.0/community/addons,./12.0/enterprise -d $2 --db-filter=$2 --dev=all -p 1340 $3 $4 $5
;;
13.0)
./13.0/community/odoo-bin --addons=13.0/community/addons,./13.0/enterprise -d $2 --db-filter=$2 --dev=all -p 1500 $3 $4 $5
;;
14.0)
./14.0/community/odoo-bin --addons=14.0/community/addons,./14.0/enterprise -d $2 --db-filter=$2 --dev=all -p 2000 $3 $4 $5
;;
15.0)
./15.0/community/odoo-bin --addons=15.0/community/addons,./15.0/enterprise -d $2 --db-filter=$2 --dev=all -p 2500 $3 $4 $5
;;
*)
./master/community/odoo-bin --addons=master/community/addons,./master/enterprise -d $2 --db-filter=$2 --dev=all -p 3000 $3 $4 $5
;;
esac