mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Update create_wp_https
This commit is contained in:
parent
180898fde8
commit
be6d976d8a
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# WordPress installer in one command line
|
||||||
|
# Credits to Luka Paunović for wp-cli implememtation
|
||||||
|
|
||||||
if [ $# -lt 1 ]; then
|
if [ $# -lt 1 ]; then
|
||||||
echo usage: create_wp_https domain [db_name] [email]
|
echo usage: create_wp_https domain [db_name] [email]
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -109,4 +112,4 @@ chown -R $user:$user $WORKINGDIR
|
||||||
rm -rf /home/$user/wp
|
rm -rf /home/$user/wp
|
||||||
|
|
||||||
echo "create_wp: Done."
|
echo "create_wp: Done."
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue