Home >

LunaSH Command Reference Guide > LunaSH Commands > webserver > webserver disable

webserver disable 

Disable the REST API service.  

Syntax

webserver disable-force

Parameter Shortcut Description
-force -f

Force the action without prompting.

Example

lunash:>webserver disable -force

Flushing firewall rules:                                   [  OK  ]
Setting chains to policy ACCEPT: filter                    [  OK  ]
Unloading iptables modules:                                [  OK  ]
Applying iptables firewall rules:                          [  OK  ]
Loading additional iptables modules: ip_conntrack_netbios_n[  OK  ]
Stopping websrv:OK

Command Result : 0 (Success)