Line 111: |
Line 111: |
| *To see how a particular service is named please type '''ls /etc/init.d''' command in SSH. | | *To see how a particular service is named please type '''ls /etc/init.d''' command in SSH. |
| *Here is the example of listed files that are located on '''init.d''' directory | | *Here is the example of listed files that are located on '''init.d''' directory |
− | [[File:Example1.png|thumb|left|ls command]] | + | [[File:Example1.png|none|left|ls command]] |
− | | |
− | | |
− | | |
− | | |
− | | |
− | | |
− | | |
− | | |
− | | |
| *For example in order to restart OpenVPN service you have to specify directory location and add command "'''restart'''". | | *For example in order to restart OpenVPN service you have to specify directory location and add command "'''restart'''". |
| *Example: '''/etc/init.d/openvpn restart''' | | *Example: '''/etc/init.d/openvpn restart''' |
| *After you execute this command your service is immediately restarted. Also, you can use '''start/stop''' commands which accordingly start or stop service. | | *After you execute this command your service is immediately restarted. Also, you can use '''start/stop''' commands which accordingly start or stop service. |
| *Example: '''/etc/init.d/firewall stop''' | | *Example: '''/etc/init.d/firewall stop''' |
− | [[File:Start-stop command.png|thumb|left|]] | + | [[File:Start-stop command.png|none|left|]] |
− | | |
− | | |
− | | |
− | | |
− | | |
− | | |
− | | |
− | | |
| *Link to the instruction of how to use Command Line Interfaces: [[Command_Line_Interfaces]] | | *Link to the instruction of how to use Command Line Interfaces: [[Command_Line_Interfaces]] |
| *Link to the instruction of UCI command usage: [[UCI_command_usage]] | | *Link to the instruction of UCI command usage: [[UCI_command_usage]] |
| + | |
| | | |
| | | |