Changeset 842
- Timestamp:
- 04/25/13 17:18:40 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/pkg/rpm/jobmonarch.spec.in
r841 r842 3 3 %define __check_files %{nil} 4 4 5 %define gangliaroot %{_datadir}/ganglia 5 %if 0%{?suse_version} 6 %define web_prefixdir /srv/www/htdocs/ganglia 7 %else 8 %define web_prefixdir %{custom_web_prefixdir} 9 %endif 10 11 %{!?custom_web_prefixdir: %define web_prefixdir /var/www/html/ganglia} 12 13 %define gangliaroot %{web_prefixdir}/ganglia 6 14 %define gangliatemplatedir %{gangliaroot}/templates 7 15 %define gangliaaddonsdir %{gangliaroot}/addons … … 142 150 # Set the password in the jobarchived config. 143 151 sed -i -s "s/^#JOB_SQL_PASSWORD.*$/JOB_SQL_PASSWORD\t\t: $DB_PASSWD/g" %{_sysconfdir}/jobarchived.conf 152 # Set the password in the ganglia conf.php 153 sed -i -e "s|^//\$JOB_ARCHIVE_SQL_PASSWORD.*|\$JOB_ARCHIVE_SQL_PASSWORD = \"$DB_PASSWD\"|g" %{gangliaaddonsdir}/job_monarch/conf.php 144 154 # Create the database 145 155 su -l postgres -c "%{_bindir}/createdb jobarchive"
Note: See TracChangeset
for help on using the changeset viewer.