wok-current view ovz-web-panel/stuff/owp-1.7.u @ rev 25526
created recipe for lua5.1-mpack 1.0.9
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 07:18:33 2023 +0100 (20 months ago) |
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