/[smeserver]/rpms/e-smith-manager/sme10/e-smith-manager.spec
ViewVC logotype

Diff of /rpms/e-smith-manager/sme10/e-smith-manager.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.35 by jpp, Fri Dec 11 04:00:40 2020 UTC Revision 1.36 by jpp, Fri Dec 11 04:05:59 2020 UTC
# Line 1  Line 1 
1  # $Id: e-smith-manager.spec,v 1.34 2020/06/27 18:28:04 jpp Exp $  # $Id: e-smith-manager.spec,v 1.35 2020/12/11 04:00:40 jpp Exp $
2    
3  Summary: e-smith manager navigation module  Summary: e-smith manager navigation module
4  %define name e-smith-manager  %define name e-smith-manager
# Line 818  mkdir -p root/etc/e-smith/web/panels/pas Line 818  mkdir -p root/etc/e-smith/web/panels/pas
818  mkdir -p root/etc/httpd/admin-conf  mkdir -p root/etc/httpd/admin-conf
819    
820  mkdir -p root/service  mkdir -p root/service
821  mkdir -p root/etc/rc.d/init.d/supervise  #mkdir -p root/etc/rc.d/init.d/supervise
822  for service in httpd-admin  #for service in httpd-admin
823  do  #do
824    ln -s /var/service/$service root/service/$service  #  ln -s /var/service/$service root/service/$service
825    mkdir -p root/var/service/$service/supervise  #  mkdir -p root/var/service/$service/supervise
826    touch root/var/service/$service/down  #  touch root/var/service/$service/down
827    if [ -d root/var/service/$service/log ]  #  if [ -d root/var/service/$service/log ]
828    then  #  then
829      mkdir -p root/var/service/$service/log/supervise  #    mkdir -p root/var/service/$service/log/supervise
830      mkdir -p root/var/log/$service  #    mkdir -p root/var/log/$service
831    fi  #  fi
832    ln -s ../daemontools root/etc/rc.d/init.d/supervise/$service  #  ln -s ../daemontools root/etc/rc.d/init.d/supervise/$service
833  done  #done
834    
835  %install  %install
836  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed