Skip to content

Commit

Permalink
#17 Set right permissions for /var/log/photosync
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciojost committed Jan 3, 2016
1 parent 2578dc2 commit 194023c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extras/packager/build.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

set -e
set -x

INSTALLER_DIR=$(readlink -e `dirname $0`)
ROOT_DIR=$INSTALLER_DIR/../../
Expand Down Expand Up @@ -35,6 +36,7 @@ mv $TMP_DIR/$NAME-$VERSION $TMP_DIR/opt/$OPT_BASE_DIR/$NAME

echo "### Preparing sources from added resources..."
cp -r $INPUT_DIR/package/* $TMP_DIR/
chmod a+rwx $TMP_DIR/var/log/$NAME

echo "### Preparing configuration files..."
cp -r $ROOT_DIR/src/main/resources/application.conf $TMP_DIR/etc/photosync/
Expand Down

0 comments on commit 194023c

Please sign in to comment.