Просмотр исходного кода

Merge branch 'services'

Add services.md guide.
DricomDragon 5 лет назад
Родитель
Сommit
624e5f64d2
1 измененных файлов с 19 добавлено и 0 удалено
  1. 19 0
      Guides/service.md

+ 19 - 0
Guides/service.md

@@ -0,0 +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`