]> git.proxmox.com Git - pve-firewall.git/commitdiff
fix arguments for register_restart_command
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 18 Dec 2014 12:48:24 +0000 (13:48 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 18 Dec 2014 12:48:24 +0000 (13:48 +0100)
src/pve-firewall

index 038afc409e0e2ce2ae9c4e31ea321c786cd572db..af3be8c1907a109fdf86c2c5dadb9b7ae3b0af7e 100755 (executable)
@@ -123,7 +123,7 @@ sub run {
 
 $daemon->register_start_command(__PACKAGE__,
                                "Start the Proxmox VE firewall service.");
 
 $daemon->register_start_command(__PACKAGE__,
                                "Start the Proxmox VE firewall service.");
-$daemon->register_restart_command(__PACKAGE__,
+$daemon->register_restart_command(__PACKAGE__, 1, 
                                  "Restart the Proxmox VE firewall service.");
 $daemon->register_stop_command(__PACKAGE__,
                               "Stop firewall. This removes all Proxmox VE " .
                                  "Restart the Proxmox VE firewall service.");
 $daemon->register_stop_command(__PACKAGE__,
                               "Stop firewall. This removes all Proxmox VE " .