Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:base-system:managing_services [2021/08/15 19:15] – unify headers vgaeteradocs:guide-user:base-system:managing_services [2023/10/14 05:46] – update vgaetera
Line 8: Line 8:
 ===== Goals ===== ===== Goals =====
   * Start, stop, restart, enable and disable system services.   * Start, stop, restart, enable and disable system services.
 +  * Check if a specific service is enabled and running.
  
 ===== Web interface instructions ===== ===== Web interface instructions =====
Line 19: Line 20:
 Check [[docs:guide-user:base-system:log.essentials|syslog]] for troubleshooting. Check [[docs:guide-user:base-system:log.essentials|syslog]] for troubleshooting.
  
-^ Command ^ Invocation ^ Description ^ +^ Command ^ Equivalent ^ Description ^ 
-| ''service'' | ''ls /etc/init.d'' | Print a list of available services | +| ''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>'' | ''/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>'' | ''/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 |+| ''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. Common actions supported by most services.
  
 ^ Action ^ Description ^ ^ Action ^ Description ^
-| ''start'' | Start the service | +| ''start'' | Start the service
-| ''stop'' | Stop the service | +| ''stop'' | Stop the service
-| ''restart'' | Restart the service | +| ''restart'' | Restart the service
-| ''reload'' | Reload configuration files or restart if that fails | +| ''reload'' | Reload configuration files or restart if that fails
-| ''enable'' | Enable service autostart | +| ''enable'' | Enable service autostart
-| ''disable'' | Disable service autostart |+| ''disable'' | Disable service autostart. | 
 +| ''enabled'' | Check if the service is enabled. | 
 +| ''running'' | Check if the service is running. |
  
  • Last modified: 2024/12/02 00:23
  • by mikma