Skip to content

Commit

Permalink
add information on deploy task to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
zamronypj committed Nov 21, 2021
1 parent fbea282 commit 2c8ef2c
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 10 deletions.
3 changes: 2 additions & 1 deletion src/Tasks/Includes/Deploy/Cgi/task.registrations.inc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ try
formatColor('--deploy-cgi', TXT_GREEN) + '=[server name] Deploy as CGI web application.' + LineEnding +
' --web-server=[web server] if omitted, apache is assumed.' + LineEnding +
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.',
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
taskFactory.build()
);
finally
Expand Down
3 changes: 2 additions & 1 deletion src/Tasks/Includes/Deploy/Fcgi/task.registrations.inc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ try
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --host=[host where FastCGI app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --port=[port where FastCGI app listen] if omitted, 20477 is assumed.',
' --port=[port where FastCGI app listen] if omitted, 20477 is assumed.' + LineEnding +
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
taskFactory.build()
);
finally
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ try
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --host=[host where FastCGI app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --port=[port where FastCGI app listen] if omitted, 20477 is assumed.',
' --port=[port where FastCGI app listen] if omitted, 20477 is assumed.' + LineEnding +
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
taskFactory.build()
);
finally
Expand Down
3 changes: 2 additions & 1 deletion src/Tasks/Includes/Deploy/Fcgid/task.registrations.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ try
'deploy-fcgid',
formatColor('--deploy-fcgid', TXT_GREEN) + '=[server name] Deploy as FastCGI web application with mod_fcgid.' + LineEnding +
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.',
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
taskFactory.build()
);
finally
Expand Down
3 changes: 2 additions & 1 deletion src/Tasks/Includes/Deploy/Http/task.registrations.inc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ try
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --host=[host where http app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --port=[port where http app listen] if omitted, 20477 is assumed.',
' --port=[port where http app listen] if omitted, 20477 is assumed.' + LineEnding +
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
taskFactory.build()
);
finally
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ try
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --host=[host where http app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --port=[port where http app listen] if omitted, 20477 is assumed.',
' --port=[port where http app listen] if omitted, 20477 is assumed.' + LineEnding +
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
taskFactory.build()
);
finally
Expand Down
3 changes: 2 additions & 1 deletion src/Tasks/Includes/Deploy/Scgi/task.registrations.inc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ try
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --host=[host where SCGI app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --port=[port where SCGI app listen] if omitted, 20477 is assumed.',
' --port=[port where SCGI app listen] if omitted, 20477 is assumed.' + LineEnding +
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
taskFactory.build()
);
finally
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ try
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --host=[host where SCGI app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --port=[port where SCGI app listen] if omitted, 20477 is assumed.',
' --port=[port where SCGI app listen] if omitted, 20477 is assumed.' + LineEnding +
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
taskFactory.build()
);
finally
Expand Down
3 changes: 2 additions & 1 deletion src/Tasks/Includes/Deploy/Uwsgi/task.registrations.inc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ try
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --host=[host where uwsgi app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --port=[port where uwsgi app listen] if omitted, 20477 is assumed.',
' --port=[port where uwsgi app listen] if omitted, 20477 is assumed.' + LineEnding +
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
taskFactory.build()
);
finally
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ try
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --host=[host where uwsgi app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
' --port=[port where uwsgi app listen] if omitted, 20477 is assumed.',
' --port=[port where uwsgi app listen] if omitted, 20477 is assumed.' + LineEnding +
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
taskFactory.build()
);
finally
Expand Down

0 comments on commit 2c8ef2c

Please sign in to comment.