Skip to content

Commit 5b4c8da

Browse files
committed
Version 1.0
1 parent 0969532 commit 5b4c8da

File tree

4 files changed

+99
-2
lines changed

4 files changed

+99
-2
lines changed

etc/bash_completion.d/ee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ EEAUTO()
1818

1919
# List Of Suggested Words
2020
easyengine|ee)
21-
COMPREPLY=( $(compgen -W "system site" -- $CURRENT) )
21+
COMPREPLY=( $(compgen -W "help system site" -- $CURRENT) )
2222
return 0
2323
;;
2424

install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ cp -a /tmp/easyengine/usr/share/easyengine/* /usr/share/easyengine/ &>> /dev/nul
150150
# EE Command
151151
cp -a /tmp/easyengine/usr/local/sbin/easyengine /usr/local/sbin/ &>> /dev/null || OwnError "Unable To Copy EasyEngine Command"
152152

153+
# EE Man Pages
154+
cp -a /tmp/easyengine/man/ee.8 /usr/share/man/man8/ &>> /dev/null || OwnError "Unable To Copy EasyEngine Man Pages"
155+
153156
# Change Permission For EE
154157
chmod 750 /usr/local/sbin/easyengine || OwnError "Unable To Change EasyEngine Command Permission"
155158

man/ee.8

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
.TH EE 8 "v\ 1.0" "Thu, September 26, 2013" "EasyEngine"
2+
.SH NAME
3+
.B ee
4+
\- Manage Nginx Based Websites.
5+
.SH SYNOPSIS
6+
ee help
7+
.TP
8+
ee site [ create | delete | disable | enable | list | listall | show ]
9+
.TP
10+
ee system [ info| install | remove | purge ]
11+
.br
12+
.SH DESCRIPTION
13+
EasyEngine (EE) is a shell script to help site administrators manage nginx-based websites.
14+
.br
15+
.SH OPTIONS
16+
.TP
17+
.B create
18+
.br
19+
Create HTML, PHP and WordPress Websites
20+
.TP
21+
.B delete
22+
.br
23+
Delete HTML, PHP and WordPress Websites
24+
.TP
25+
.B disable
26+
.br
27+
Disable Website
28+
.TP
29+
.B enable
30+
.br
31+
Enable Website
32+
.TP
33+
.B list
34+
.br
35+
List Enabled Websites
36+
.TP
37+
.B listall
38+
.br
39+
List All Websites
40+
.TP
41+
.B show
42+
.br
43+
Show Nginx Configuration For Website
44+
.TP
45+
.B info
46+
.br
47+
Information About Nginx And PHP
48+
.TP
49+
.B install
50+
.br
51+
Install Nginx PHP5 MySQL Postfix System Packages
52+
.TP
53+
.B remove
54+
.br
55+
Remove Nginx PHP5 MySQL Postfix System Packages
56+
.TP
57+
.B purge
58+
.br
59+
Purge Nginx PHP5 MySQL Postfix System Packages
60+
.SH EXAMPLES
61+
.br
62+
Please visit: http://rtcamp.com/easyengine/docs/
63+
.P
64+
.SH VERSION
65+
.B ee (EasyEngine)
66+
version 1.0
67+
.SH "SEE ALSO"
68+
.br
69+
.TP
70+
EE:
71+
.I http://rtcamp.com/easyengine
72+
.br
73+
.TP
74+
FAQ:
75+
.I http://rtcamp.com/easyengine/faq/
76+
.br
77+
.TP
78+
DOCS:
79+
.I http://rtcamp.com/easyengine/docs/
80+
.SH AUTHOR
81+
.br
82+
.B rtCamp Team
83+
84+
.br
85+
.B Mitesh Shah
86+
87+
.br
88+
.B Manish
89+

usr/local/sbin/easyengine

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,11 +912,16 @@ REMOVENGINXCONF()
912912
}
913913

914914

915+
# Easy Engine Help
916+
if [ "$1" = "help" ] || [ "$1" = "--help" ]
917+
then
915918

919+
# Display Man Pages
920+
man ee
916921

917922

918923
# Easy Engine System Settings
919-
if [ "$1" = "system" ]
924+
elif [ "$1" = "system" ]
920925
then
921926

922927

0 commit comments

Comments
 (0)