]> git.proxmox.com Git - pve-manager.git/commit
cleanup vzdump -stop implementation
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 20 Jan 2015 08:26:31 +0000 (09:26 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 20 Jan 2015 08:35:01 +0000 (09:35 +0100)
commiteab837c4c4bf978cfc9f778d439465daa7c87775
tree7bc2e3e36f93b851c3b124078fd02936837255a7
parent8682f6fcb19ef5316e4c9c44e41aa74e9f60d438
cleanup vzdump -stop implementation

* do not unlink $pidfile inside stop_running_backups to avoid race conditions
* use pve UPID to save pid (see PVE::Tools::upid_decode)
* allow to pass -stop parameter to nomal backup job
* simple return 'OK' instead of calling exit() inside API call.
* rename stop_all_backups to stop_running_backups
PVE/API2/VZDump.pm
PVE/VZDump.pm
bin/init.d/pve-manager
bin/vzdump
debian/changelog.Debian