forked from 0x2620/pandora
fix install
This commit is contained in:
parent
0cfb499594
commit
2fec9590f7
1 changed files with 1 additions and 0 deletions
1
ctl
1
ctl
|
@ -79,6 +79,7 @@ if [ "$action" = "install" ]; then
|
||||||
BASE=`pwd`
|
BASE=`pwd`
|
||||||
if [ -x /bin/systemctl ]; then
|
if [ -x /bin/systemctl ]; then
|
||||||
if [ -d /etc/systemd/system/ ]; then
|
if [ -d /etc/systemd/system/ ]; then
|
||||||
|
cd ${BASE}
|
||||||
for template in gunicorn_config.py encoding.conf tasks.conf; do
|
for template in gunicorn_config.py encoding.conf tasks.conf; do
|
||||||
if [ ! -e pandora/$template ]; then
|
if [ ! -e pandora/$template ]; then
|
||||||
$SUDO cp pandora/${template}.in pandora/$template
|
$SUDO cp pandora/${template}.in pandora/$template
|
||||||
|
|
Loading…
Reference in a new issue