Appendices > Appendix J: Configuring Moab as a Service

Conventions

Appendix J: Configuring Moab as a Service

Scripts that follow can be used to start up Moab services automatically upon a reboot. To enable a service script, copy the script to /etc/rc.d/init.d/S97moab, edit the file to make needed localization changes (adjust binary paths, execution user, etc), and add links to the rc3.dand rc5.d directories as in the example that follows:

> cp mwm.service /etc/rc.d/init.d/S97moab
> vi /etc/rc.d/init.d/S97moab
    (make needed localizations)
> ln -s /etc/rc.d/init.d/S97moab /etc/rc.d/rc3.d
> ln -s /etc/rc.d/init.d/S97moab /etc/rc.d/rc5.d

J.1 Moab Workload Manager Service Scripts