Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
machinejobfeatures
mjf-scripts
Commits
193274f8
Commit
193274f8
authored
Feb 29, 2016
by
Andrew McNab
Browse files
Finish transititon
parent
4f2bf727
Changes
1
Hide whitespace changes
Inline
Side-by-side
mjf-scripts.spec
View file @
193274f8
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 <Andrew.McNab@cern.ch>
%description
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!
%install
make install
%post
%post
-n mjf-torque
chkconfig mjf on
service mjf start
%preun
%preun
-n mjf-torque
if [ "$1" = "0" ] ; then
# if uninstallation rather than upgrade then stop
chkconfig mjf off
service mjf stop
fi
%files
%files
-n mjf-torque
/var/lib/torque/mom_priv
/etc/rc.d/init.d/*
/etc/profile.d/*
...
...
@@ -56,6 +63,6 @@ if [ "$1" = "0" ] ; then
service mjf stop
fi
%file -n mjf-htcondor
%file
s
-n mjf-htcondor
/etc/rc.d/init.d/*
/etc/profile.d/*
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment