Free CompTIA Linux+ XK0-005 Practice Question

A Linux system administrator notices that a custom service is supposed to start after the local MySQL database server is up and running. However, the custom service sometimes fails because it starts too quickly and does not detect the MySQL service being ready. Which directive should the administrator add to the [Unit] section of the custom service's systemd unit file to ensure it starts after the MySQL service?

  • After=mysqld.service

  • BindsTo=mysqld.service

  • BindTo=mysqld.service

  • Wants=mysqld.service

This question's topic:
CompTIA Linux+ XK0-005 / 
Your Score:

Check or uncheck an objective to set which questions you will receive.

SAVE $45