Commit 193274f8 authored by Andrew McNab's avatar Andrew McNab
Browse files

Finish transititon

parent 4f2bf727
Name: mjf-torque
Name: mjf-scripts
Version: %(echo ${MJF_VERSION:-0.0})
Release: 1
BuildArch: noarch
......@@ -10,6 +10,13 @@ Vendor: GridPP
Packager: Andrew McNab <>
MJF implementations following HSF-TN-2016-02
%package -n mjf-torque
Group: System Environment/Daemons
Summary: Machine/Job Features for Torque/PBS
%description -n mjf-torque
MJF following HSF-TN-2016-02 for Torque/PBS
%package -n mjf-htcondor
......@@ -29,18 +36,18 @@ Currently this only creates $MACHINEFEATURES!
make install
%post -n mjf-torque
chkconfig mjf on
service mjf start
%preun -n mjf-torque
if [ "$1" = "0" ] ; then
# if uninstallation rather than upgrade then stop
chkconfig mjf off
service mjf stop
%files -n mjf-torque
......@@ -56,6 +63,6 @@ if [ "$1" = "0" ] ; then
service mjf stop
%file -n mjf-htcondor
%files -n mjf-htcondor
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment