Skip to content

Commit 2c8ef2c

Browse files
committed
add information on deploy task to stdout
1 parent fbea282 commit 2c8ef2c

10 files changed

Lines changed: 20 additions & 10 deletions

File tree

‎src/Tasks/Includes/Deploy/Cgi/task.registrations.inc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ try
1515
formatColor('--deploy-cgi', TXT_GREEN) + '=[server name] Deploy as CGI web application.' + LineEnding +
1616
' --web-server=[web server] if omitted, apache is assumed.' + LineEnding +
1717
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
18-
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.',
18+
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
19+
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
1920
taskFactory.build()
2021
);
2122
finally

‎src/Tasks/Includes/Deploy/Fcgi/task.registrations.inc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ try
1717
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
1818
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
1919
' --host=[host where FastCGI app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
20-
' --port=[port where FastCGI app listen] if omitted, 20477 is assumed.',
20+
' --port=[port where FastCGI app listen] if omitted, 20477 is assumed.' + LineEnding +
21+
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
2122
taskFactory.build()
2223
);
2324
finally

‎src/Tasks/Includes/Deploy/FcgiBalancer/task.registrations.inc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ try
1919
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
2020
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
2121
' --host=[host where FastCGI app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
22-
' --port=[port where FastCGI app listen] if omitted, 20477 is assumed.',
22+
' --port=[port where FastCGI app listen] if omitted, 20477 is assumed.' + LineEnding +
23+
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
2324
taskFactory.build()
2425
);
2526
finally

‎src/Tasks/Includes/Deploy/Fcgid/task.registrations.inc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ try
1414
'deploy-fcgid',
1515
formatColor('--deploy-fcgid', TXT_GREEN) + '=[server name] Deploy as FastCGI web application with mod_fcgid.' + LineEnding +
1616
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
17-
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.',
17+
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
18+
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
1819
taskFactory.build()
1920
);
2021
finally

‎src/Tasks/Includes/Deploy/Http/task.registrations.inc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ try
1717
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
1818
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
1919
' --host=[host where http app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
20-
' --port=[port where http app listen] if omitted, 20477 is assumed.',
20+
' --port=[port where http app listen] if omitted, 20477 is assumed.' + LineEnding +
21+
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
2122
taskFactory.build()
2223
);
2324
finally

‎src/Tasks/Includes/Deploy/HttpBalancer/task.registrations.inc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ try
1919
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
2020
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
2121
' --host=[host where http app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
22-
' --port=[port where http app listen] if omitted, 20477 is assumed.',
22+
' --port=[port where http app listen] if omitted, 20477 is assumed.' + LineEnding +
23+
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
2324
taskFactory.build()
2425
);
2526
finally

‎src/Tasks/Includes/Deploy/Scgi/task.registrations.inc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ try
1717
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
1818
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
1919
' --host=[host where SCGI app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
20-
' --port=[port where SCGI app listen] if omitted, 20477 is assumed.',
20+
' --port=[port where SCGI app listen] if omitted, 20477 is assumed.' + LineEnding +
21+
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
2122
taskFactory.build()
2223
);
2324
finally

‎src/Tasks/Includes/Deploy/ScgiBalancer/task.registrations.inc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ try
1919
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
2020
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
2121
' --host=[host where SCGI app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
22-
' --port=[port where SCGI app listen] if omitted, 20477 is assumed.',
22+
' --port=[port where SCGI app listen] if omitted, 20477 is assumed.' + LineEnding +
23+
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
2324
taskFactory.build()
2425
);
2526
finally

‎src/Tasks/Includes/Deploy/Uwsgi/task.registrations.inc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ try
1717
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
1818
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
1919
' --host=[host where uwsgi app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
20-
' --port=[port where uwsgi app listen] if omitted, 20477 is assumed.',
20+
' --port=[port where uwsgi app listen] if omitted, 20477 is assumed.' + LineEnding +
21+
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
2122
taskFactory.build()
2223
);
2324
finally

‎src/Tasks/Includes/Deploy/UwsgiBalancer/task.registrations.inc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ try
1919
' --doc-root=[document-root] if omitted, public directory in current directory is used.' + LineEnding +
2020
' --server-ip=[web server ip] if omitted, 127.0.0.1 is assumed.' + LineEnding +
2121
' --host=[host where uwsgi app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding +
22-
' --port=[port where uwsgi app listen] if omitted, 20477 is assumed.',
22+
' --port=[port where uwsgi app listen] if omitted, 20477 is assumed.' + LineEnding +
23+
' --stdout=Output virtual host configuration to STDOUT (no root privilege needed).',
2324
taskFactory.build()
2425
);
2526
finally

0 commit comments

Comments
 (0)