Changeset 870
- Timestamp:
- 05/16/13 17:10:25 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/pkg/rpm/jobmonarch.spec.in
r867 r870 118 118 %__rm -rf $RPM_BUILD_ROOT 119 119 120 %post -n jobmonarch-jobmond 121 # $1 = 1 => install ($1 = 2 => upgrade) 122 if [ "$1" = 1 ]; then 123 /sbin/chkconfig --add jobmond 124 elif [ "$1" = 2 ]; then 125 /sbin/service jobmond condrestart 126 fi 127 128 %post -n jobmonarch-jobarchived 120 %post 129 121 # $1 = 1 => install ($1 = 2 => upgrade) 130 122 if [ "$1" = 1 ]; then … … 138 130 # Set the password in the ganglia conf.php 139 131 sed -i -e "s|^//\$JOB_ARCHIVE_SQL_PASSWORD.*|\$JOB_ARCHIVE_SQL_PASSWORD = \"$DB_PASSWD\"|g" %{gangliaaddonsdir}/job_monarch/conf.php 132 fi 133 134 %post -n jobmonarch-jobmond 135 # $1 = 1 => install ($1 = 2 => upgrade) 136 if [ "$1" = 1 ]; then 137 /sbin/chkconfig --add jobmond 138 elif [ "$1" = 2 ]; then 139 /sbin/service jobmond condrestart 140 fi 141 142 %post -n jobmonarch-jobarchived 143 # $1 = 1 => install ($1 = 2 => upgrade) 144 if [ "$1" = 1 ]; then 140 145 # Enable the service 141 146 /sbin/chkconfig --add jobarchived
Note: See TracChangeset
for help on using the changeset viewer.