From e82cf974728528ba2704e891562bcf5574cfb55f Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 2 Dec 2018 18:38:38 -0600 Subject: Admin: ch04: Add ref IDs --- src/admin/4_services.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/admin/4_services.xml b/src/admin/4_services.xml index f4473c8..4f2ead8 100644 --- a/src/admin/4_services.xml +++ b/src/admin/4_services.xml @@ -10,13 +10,13 @@ Installing a service Refer to for detailed information about installing packages. When you install the openssh package using apk add openssh, you may notice that APK automatically installs openssh-openrc for you. Services packaged by Adélie Linux always include -openrc subpackages which allow you to quickly and easily bring up new services on your systems. -
+
Enabling and disabling services Security NoticeRemember to always review a service's documentation and best practices for configuration before enabling and starting the service. To enable a service, you may use the command rc-update add SERVICE default, where SERVICE is the name of the service — in this example, sshd. This adds the service to OpenRC's default runlevel, which means the service will automatically start when the system is booted. You may configure other runlevels based on your needs; however, this process is beyond the scope of this handbook. Refer to the official OpenRC documentation for more information. To disable a service, and prevent it from automatically starting on system boot, you may use the command rc-update del SERVICE default, where SERVICE is the name of the service.
-
+
Starting, stopping, and restarting services To start a service, you may use the command service SERVICE start, where SERVICE is the name of the service you wish to start. To stop a service, you may use the command service SERVICE stop, and to restart, you may use the command service SERVICE restart.
-- cgit v1.2.3-60-g2f50