reports: Fix id of custom date selector
[ninja.git] / op5build / solaris / postinstall
blobbb52ee7baa5604d7fef1b2632681984d65801b9f
1 #!/bin/bash
2 op5="/opt/monitor/op5"
3 prefix="$op5/ninja"
4 AP2CONFDIR='/etc/opt/csw/apache2'
5 AP2_NINJA_CONF="/etc/opt/csw/apache2/extra/ninja.conf"
7 ln -s $op5 $prefix/op5
9 /usr/xpg4/bin/grep -q "Include $AP2_NINJA_CONF" $AP2CONFDIR/httpd.conf || echo "Include $AP2_NINJA_CONF" >> $AP2CONFDIR/httpd.conf
11 chown -R monitor:daemon /opt/monitor
12 chown -R monitor:daemon /var/www/
14 # svcadm restart doesn't work, if service is not started
15 svcadm disable cswapache2
16 sleep 3
17 svcadm enable cswapache2