(Click to open topic with navigation)
Enabling Torque as a service is optional. In order to run Torque as a service, you must enable trqauthd. (see Configuring trqauthd for Client Commands).
The method for enabling Torque as a service is dependent on the Linux variant you are using. Startup scripts are provided in the contrib/init.d/ or contrib/systemd/ directory of the source package. To enable Torque as a service, run the following as root on the host for the appropriate Torque daemon:
Red Hat 6-based systems
> cp contrib/init.d/pbs_mom /etc/init.d/pbs_mom > chkconfig --add pbs_mom > cp contrib/init.d/pbs_server /etc/init.d/pbs_server > chkconfig --add pbs_server
SUSE 11-based systems
> cp contrib/init.d/suse.pbs_mom /etc/init.d/pbs_mom > insserv -d pbs_mom > cp contrib/init.d/suse.pbs_server /etc/init.d/pbs_server > insserv -d pbs_server
Red Hat 7-based or SUSE 12-based systems
> cp contrib/systemd/pbs_mom.service /user/lib/systemd/pbs_server.service > systemctl enable pbs_mom.service > cp contrib/systemd/pbs_server.service /user/lib/systemd/pbs_server.service > systemctl enable pbs_server.service
You will need to customize these scripts to match your system.
These options can be added to the self-extracting packages. For more details, see the INSTALL file.
Related Topics