Hi,
Just noted thtat PBSpro installs using SysVinit (with /etc/rc.d/init.d/pbs script and symlinks under /etc/rc.d/rc?.d/) under CentOS72.
However, CentOS7 is now based on systemd, so the start methods etc. probably need to be updated.
In all fairness, quite a few “non-native” packages does much the same thing. But the present installation will create a “mix” of SysVinit and systemd, which is not desirable.
Best,
/Bjarne
Yes, that is a known issue. Please see https://pbspro.atlassian.net/browse/PP-280
Currently one pull request has been submitted to fix this, and is under review.
You can view the pull request here: https://github.com/PBSPro/pbspro/pull/70
Hopefully, we will get this resolved and merged soon.
Regards,
Subhasis
OK.
I’ll create a /lib/systemd/system/pbs.service (content as per the pull request) for now.
Thanks,
Bjarne
Thanks @buchmann
Optionally, you may want to provide feedback to the current pull request which is attempting to fix this issue.
Regards,
Subhasis
Alternatively, if you install a recent systemd (on RedHat 7 it’s Systemd 2.19, IIRC) it should also come with a systemd-sysv-generator built in that will convert the /etc/init.d script into a service.