Browse Source

Version 1.0

old-stable
Mitesh Shah 11 years ago
parent
commit
5b4c8da6cd
  1. 2
      etc/bash_completion.d/ee
  2. 3
      install.sh
  3. 89
      man/ee.8
  4. 7
      usr/local/sbin/easyengine

2
etc/bash_completion.d/ee

@ -18,7 +18,7 @@ EEAUTO()
# List Of Suggested Words
easyengine|ee)
COMPREPLY=( $(compgen -W "system site" -- $CURRENT) )
COMPREPLY=( $(compgen -W "help system site" -- $CURRENT) )
return 0
;;

3
install.sh

@ -150,6 +150,9 @@ cp -a /tmp/easyengine/usr/share/easyengine/* /usr/share/easyengine/ &>> /dev/nul
# EE Command
cp -a /tmp/easyengine/usr/local/sbin/easyengine /usr/local/sbin/ &>> /dev/null || OwnError "Unable To Copy EasyEngine Command"
# EE Man Pages
cp -a /tmp/easyengine/man/ee.8 /usr/share/man/man8/ &>> /dev/null || OwnError "Unable To Copy EasyEngine Man Pages"
# Change Permission For EE
chmod 750 /usr/local/sbin/easyengine || OwnError "Unable To Change EasyEngine Command Permission"

89
man/ee.8

@ -0,0 +1,89 @@
.TH EE 8 "v\ 1.0" "Thu, September 26, 2013" "EasyEngine"
.SH NAME
.B ee
\- Manage Nginx Based Websites.
.SH SYNOPSIS
ee help
.TP
ee site [ create | delete | disable | enable | list | listall | show ]
.TP
ee system [ info| install | remove | purge ]
.br
.SH DESCRIPTION
EasyEngine (EE) is a shell script to help site administrators manage nginx-based websites.
.br
.SH OPTIONS
.TP
.B create
.br
Create HTML, PHP and WordPress Websites
.TP
.B delete
.br
Delete HTML, PHP and WordPress Websites
.TP
.B disable
.br
Disable Website
.TP
.B enable
.br
Enable Website
.TP
.B list
.br
List Enabled Websites
.TP
.B listall
.br
List All Websites
.TP
.B show
.br
Show Nginx Configuration For Website
.TP
.B info
.br
Information About Nginx And PHP
.TP
.B install
.br
Install Nginx PHP5 MySQL Postfix System Packages
.TP
.B remove
.br
Remove Nginx PHP5 MySQL Postfix System Packages
.TP
.B purge
.br
Purge Nginx PHP5 MySQL Postfix System Packages
.SH EXAMPLES
.br
Please visit: http://rtcamp.com/easyengine/docs/
.P
.SH VERSION
.B ee (EasyEngine)
version 1.0
.SH "SEE ALSO"
.br
.TP
EE:
.I http://rtcamp.com/easyengine
.br
.TP
FAQ:
.I http://rtcamp.com/easyengine/faq/
.br
.TP
DOCS:
.I http://rtcamp.com/easyengine/docs/
.SH AUTHOR
.br
.B rtCamp Team
.I \<admin@rtcamp.com\>
.br
.B Mitesh Shah
.I \<Mitesh.Shah@rtcamp.com\>
.br
.B Manish
.I \<Manish.Songirkar@rtcamp.com\>

7
usr/local/sbin/easyengine

@ -912,11 +912,16 @@ REMOVENGINXCONF()
}
# Easy Engine Help
if [ "$1" = "help" ] || [ "$1" = "--help" ]
then
# Display Man Pages
man ee
# Easy Engine System Settings
if [ "$1" = "system" ]
elif [ "$1" = "system" ]
then

Loading…
Cancel
Save