CentOS 7 - 需要更改引导顺序以使 sge 自动启动

CentOS 7 - boot order needs to be changed in order for sge to start automatically

服务器启动时sge似乎在安装lustre之前尝试启动,这会导致重新启动时自动启动错误。 有人能告诉我如何在启动时更改顺序,以便 sge 在挂载 lustre 后启动吗?

日志中的错误消息:

Aug 12 11:46:21 dragen1 systemd: Configuration file /usr/lib/systemd/system/sge_execd.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Aug 12 11:46:40 dragen1 sge_execd: error: SGE_ROOT directory "/cm/shared/apps/sge/2011.11p1" doesn't exist
Aug 12 11:46:40 dragen1 systemd: sge_execd.service: control process exited, code=exited status=1
Aug 12 11:46:40 dragen1 systemd: Unit sge_execd.service entered failed state.
Aug 12 11:46:40 dragen1 systemd: sge_execd.service failed

我在 sge 服务的 [Unit] 下添加了以下内容

RequiresMountsFor=(Mount Point)

这解决了问题。