Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/mkcamp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ END
else {
server_control(
service => 'all',
action => 'restart',
action => 'start',
);
server_control(
service => 'app',
Expand Down
6 changes: 4 additions & 2 deletions lib/Camp/Master.pm
Original file line number Diff line number Diff line change
Expand Up @@ -989,11 +989,13 @@ When setting skip_apache, set this to the command to start your webserver. An ex

When setting skip_apache, set this to the command to stop your webserver. An example with nginx:

pid=`cat __CAMP_PATH__/var/run/nginx.pid 2>/dev/null` && kill $pid
/usr/sbin/nginx -c __CAMP_PATH__/nginx/nginx.conf -s stop

=item httpd_restart

pid=`cat __CAMP_PATH__/var/run/nginx.pid 2>/dev/null` && kill -HUP $pid || /usr/sbin/nginx -c __CAMP_PATH__/nginx/nginx.conf
When setting skip_apache, set this to the command to restart your webserver. An example with nginx:

/usr/sbin/nginx -c __CAMP_PATH__/nginx/nginx.conf -s reload

=item skip_ssl_cert_gen

Expand Down