current
Last change
on this file was
b979798,
checked in by Borja Lopez <borja@…>, 5 years ago
|
Fixed bin/stop so it stops uwsgi instead of pserve
|
-
Property mode set to
100755
|
File size:
404 bytes
|
Rev | Line | |
---|
[2142a49] | 1 | #!/bin/sh |
---|
| 2 | # |
---|
| 3 | # Script to stop OpenWorkouts |
---|
| 4 | # |
---|
| 5 | |
---|
| 6 | # Full path to where we run the script from |
---|
| 7 | current=`pwd` |
---|
| 8 | # Full path to the env |
---|
| 9 | env_path=${current}/env |
---|
| 10 | |
---|
| 11 | # Activate the virtual env |
---|
| 12 | . ${env_path}/bin/activate |
---|
| 13 | |
---|
| 14 | # stop pserve |
---|
| 15 | echo "Stopping OpenWorkouts" |
---|
[b979798] | 16 | ./bin/uwsgi_stop |
---|
| 17 | #kill -15 `cat var/run/pserve.pid` |
---|
[2142a49] | 18 | |
---|
| 19 | # Stop ZEO |
---|
| 20 | echo "Stopping database" |
---|
| 21 | ./bin/zeo_stop >> var/log/zeo_stop.log 2>> var/log/zeo_stop.err & |
---|
Note: See
TracBrowser
for help on using the repository browser.