wok view ovz-web-panel/stuff/owp-1.7.u @ rev 20871
updated eigen (3.2.2 -> 3.3.7)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 23 14:33:47 2019 +0100 (2019-02-23) |
parents | |
children |
line source
1 --- ovz-web-panel-ori/app/models/hardware_server.rb Fri Nov 19 18:54:08 2010
2 +++ ovz-web-panel/app/models/hardware_server.rb Fri Dec 31 23:59:40 2010
3 @@ -174,7 +174,7 @@
4 end
6 def sync_backups
7 - backups_list = rpc_client.exec('ls', "--block-size=M -s #{backups_dir}")['output']
8 + backups_list = rpc_client.exec('ls', "-h -s #{backups_dir}")['output']
9 backups_list = backups_list.split("\n")
10 # remove totals line
11 backups_list.shift
12 --- ovz-web-panel-ori/script/owp Mon Oct 25 19:09:40 2010
13 +++ ovz-web-panel/script/owp Sat Jan 1 01:08:42 2011
14 @@ -61,7 +61,7 @@
16 stop() {
17 echo "Stopping OpenVZ Web Panel server"
18 - PANEL_APP_PID=`ps auxww | grep ruby | grep script/server | awk '{ print $2 }'`
19 + PANEL_APP_PID=`ps | grep ruby | grep script/server | awk '{ print $1 }'`
20 [ -n "$PANEL_APP_PID" ] && kill -2 $PANEL_APP_PID
21 [ "$ENVIRONMENT" = "HW-NODE" ] && ruby $INSTALL_DIR/utils/hw-daemon/hw-daemon.rb stop
22 ruby $INSTALL_DIR/utils/watchdog/watchdog.rb stop