diff options
Diffstat (limited to 'modules/viewvc/templates')
-rwxr-xr-x | modules/viewvc/templates/kill_viewvc.sh | 3 | ||||
-rw-r--r-- | modules/viewvc/templates/vhost.conf | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/modules/viewvc/templates/kill_viewvc.sh b/modules/viewvc/templates/kill_viewvc.sh index 4c27d3f3..8c33c2ff 100755 --- a/modules/viewvc/templates/kill_viewvc.sh +++ b/modules/viewvc/templates/kill_viewvc.sh @@ -7,7 +7,6 @@ do process_mem=$(pmap "$process" | grep total | sed 's/ \+total \+\([[:digit:]]\+\)K/\1/') if [ "$process_mem" -gt "$max_memory" ] then - kill -15 "$process" + kill -15 "$process" fi done - diff --git a/modules/viewvc/templates/vhost.conf b/modules/viewvc/templates/vhost.conf index 28916f98..28e9f3d6 100644 --- a/modules/viewvc/templates/vhost.conf +++ b/modules/viewvc/templates/vhost.conf @@ -1,2 +1 @@ FastCgiServer /usr/share/viewvc/bin/wsgi/viewvc.fcgi -processes 4 -idle-timeout 30 - |