소스 검색

Add common status and disable commands

Jovian (Toshiba) 5 년 전
부모
커밋
70e2a0d9b8
1개의 변경된 파일16개의 추가작업 그리고 0개의 파일을 삭제
  1. 16 0
      Guides/service.md

+ 16 - 0
Guides/service.md

@@ -1,3 +1,19 @@
 # Service
 
 Tips to use services under Linux.
+
+## List all services
+
+`service --status-all`
+
+## Status of one specific service
+
+`service <name of service> status`
+
+Example : `service mongodb status`
+
+List of common services : `postgresql`, `apache2`, `mongodb`
+
+## Disable a service
+
+Example : `sudo update-rc.d mongodb disable`