valet/debian/aic-valet-core.postinst
Omar Rivera 285e4297df Adding packaging and debian instructions
Creates 2 debian packages from source.
    aic-valet-core (main pkg: API, engine)
    aic-valet-openstack-plugins (heat lifecycle plugin, nova scheduler filter)

Change-Id: I473ca046c432cd3383388987e1fe7e5a737e8ddb
2017-08-16 14:02:15 -05:00

17 lines
467 B
Plaintext

chown -R valet:valet /etc/valet
chmod 0750 /etc/valet
chown -R valet:valet /opt/app/valet/tools
chmod 755 /opt/app/valet/tools/*
chown valet:valet /var/log/valet
chmod 0750 /var/log/valet
chown valet:valet /var/run/valet
chown valet:valet /var/www/valet/app.wsgi
chown valet:valet /var/www/valet/config.py
find /var/lib/valet -xdev -type d -exec chown valet:valet {} \;
ln -s /etc/apache2/sites-available/180-valet.conf /etc/apache2/sites-enabled/180-valet.conf