FlashKeepers

Linux · CompTIA Linux+ · Professional Certifications

Linux systemd and Service Management

systemctl commands, unit files, and service management concepts on modern Linux distributions using systemd.

About this set

30 basic cards for CompTIA Linux+ Linux. It opens with "What is systemd?" and "Command to start a service immediately". More Professional Certifications decks are listed below.

30 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is systemd?
Show answerA system and service manager for Linux that provides parallel startup and dependency management
Command to start a service immediately
Show answersystemctl start <service-name>
Command to stop a service
Show answersystemctl stop <service-name>
Command to enable a service to start on boot
Show answersystemctl enable <service-name>
Command to disable a service from starting on boot
Show answersystemctl disable <service-name>
Command to restart a service
Show answersystemctl restart <service-name>
Command to reload a service's configuration without stopping it
Show answersystemctl reload <service-name>
Command to check if a service is running
Show answersystemctl status <service-name>
Command to list all loaded units
Show answersystemctl list-units
Command to list all unit files and their enablement status
Show answersystemctl list-unit-files
Primary location for system unit files
Show answer/usr/lib/systemd/system/
Location for administrator-created or edited unit files
Show answer/etc/systemd/system/
What is a systemd unit file?
Show answerA configuration file in INI format that describes how systemd should manage a service or resource
Contents of the [Unit] section in a unit file
Show answerMetadata like Description, Documentation, Before, After, and Requires directives
Contents of the [Service] section in a unit file
Show answerService-specific settings like ExecStart, Type, Restart, and User

15 more cards in the app

Study this set free