kopia lustrzana https://github.com/piku/piku
Refactored config cleanup
rodzic
ff52420f35
commit
18c711e84b
7
piku.py
7
piku.py
|
@ -528,8 +528,11 @@ def destroy_app(app):
|
||||||
for f in g:
|
for f in g:
|
||||||
echo("Removing file '%s'" % f, fg='yellow')
|
echo("Removing file '%s'" % f, fg='yellow')
|
||||||
os.remove(f)
|
os.remove(f)
|
||||||
echo("Removing file '%s.conf'" % join(NGINX_ROOT,app), fg='yellow')
|
|
||||||
os.remove(join(NGINX_ROOT, "%s.conf" % app))
|
nginx = join(NGINX_ROOT, "%s.conf" % app)
|
||||||
|
if exists(nginx):
|
||||||
|
echo("Removing file '%s'" % nginx, fg='yellow')
|
||||||
|
os.remove(nginx)
|
||||||
|
|
||||||
|
|
||||||
@piku.command("logs")
|
@piku.command("logs")
|
||||||
|
|
Ładowanie…
Reference in New Issue