#!/bin/sh -eu

mkdir -p /ida
[ ! -L /ida/front ] && ln -s /opt/front /ida/front

# We manage service restarts via the meta package
ln -fs /opt/front/upstart/front.conf /etc/init/front.conf

# We want to ensure upstart realizes it's config may have changed.
/sbin/initctl reload-configuration

chown -R deployer:deployer /opt/front/log
chown -R deployer:deployer /var/log/front
chown -R deployer:deployer /opt/front/tmp

#!/bin/sh -eu

mkdir -p /ida
[ ! -L /ida/front ] && ln -s /opt/front /ida/front

# We manage service restarts via the meta package
ln -fs /opt/front/upstart/front.conf /etc/init/front.conf

# We want to ensure upstart realizes it's config may have changed.
/sbin/initctl reload-configuration

chown -R deployer:deployer /opt/front/log
chown -R deployer:deployer /var/log/front
chown -R deployer:deployer /opt/front/tmp
chgrp deployer /etc/front

Set front config path ownership
3431: Set front config path ownership

The /etc/front folder is created by pkgr with incorrect assupmtions
of file ownership.  Until we fix pkgr we need a workaround.

Authors: 4137bc79bfb767817a94734d09d63645ed350e7e@jinnko
