appinstall fix

This commit is contained in:
Code-Egg
2020-01-08 20:04:10 -05:00
parent af5535e739
commit 35b7825969
5 changed files with 16 additions and 13 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
docker-compose exec litespeed su -s /bin/bash lsadm -c \
'echo "admin:$(/usr/local/lsws/admin/fcgi-bin/admin_php* -q $/usr/local/lsws/admin/misc/htpasswd.php '${1}')" > /usr/local/lsws/admin/conf/htpasswd';