After installing a new version of a package, a systems administrator notices a new version of the corresponding .service file was installed. In order to use the new version of the .service file, which of the following commands must be issued FIRST?
D. systemctl daemon-reload
Explanation:
systemctl is a command-line tool used to manage services in Linux.
daemon-reload is an option used with the systemctl command to reload the systemd manager configuration. This is necessary when changes are made to the configuration files of a service, such as the .service file.
After a new version of a package is installed, the corresponding .service file may be updated. In order to use the new version of the .service file, it is necessary to reload the configuration with the systemctl daemon-reload command before any other action can be taken. This ensures that the systemd manager is aware of the changes made to the .service file.
D is correct
To have your changes take effect, issue the systemctl daemon-reload command for the service whose unit file you modified or extended. After you accomplish that task, issue the systemctl restart command to start or restart the service.
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.XK0-005 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
linux_admin
8 months, 3 weeks agoCkl22
10 months, 2 weeks ago