Show pagesourceOld revisionsBacklinksBack to top × Table of Contents Managing services Introduction Goals Web interface instructions Command-line instructions Managing services This article relies on the following: Accessing web interface / command-line interface Managing configs / packages / services / logs Introduction There are multiple services running on OpenWrt to perform different tasks. This how-to describes the method for managing OpenWrt services. Goals Start, stop, restart, enable and disable system services. Check if a specific service is enabled and running. Web interface instructions Manage services using web interface. Navigate to LuCI → System → Startup. See the list of all the available services and use buttons to execute actions. Command-line instructions Manage services using command-line interface. Use the invocation column inside scripts, hotplug or cron. Check syslog for troubleshooting. Command Invocation Description service ls /etc/init.d Print a list of available services. service <service> /etc/init.d/<service> Print a list of available actions for a service. service <service> <action> /etc/init.d/<service> <action> Execute that action on a specific service. service <service> <action> <instance> /etc/init.d/<service> <action> <instance> Execute that action on a specific service instance, e.g. OpenVPN connection. Common actions supported by most services. Action Description start Start the service. stop Stop the service. restart Restart the service. reload Reload configuration files or restart if that fails. enable Enable service autostart. disable Disable service autostart. enabled Check if the service is enabled. running Check if the service is running. This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.OKMore information about cookies Last modified: 2021/11/27 22:45by vgaetera