Start service first from multi-user.target

General support questions
Post Reply
zolthar_z
Posts: 1
Joined: 2020/07/15 02:41:13

Start service first from multi-user.target

Post by zolthar_z » 2020/07/15 02:54:52

Good day

I've several servers with legacy services and all services depends of one specific service to start properly, the service is located in multi-user.target and I need to start this service first, this service should be the first service to start of all services located in multi-user.target, I tried creating a new custom.target to start the service before multi-user.target but the default.target is linked to multi-user and start at the same time. I tried to add the new custom.target as default.target but broke the server and have to re-installed, so basically the question is...How can I set-up (or force) a service located in multi-user.target to start before all other servers?

Thanks for your help.

Regards.

Post Reply

Return to “CentOS 7 - General Support”