deployer updates
This commit is contained in:
@@ -5,8 +5,6 @@ rm -f $DOMAIN_DIR/build.log
|
|||||||
ln -s $LOGS_DIR/build.log $DOMAIN_DIR/build.log
|
ln -s $LOGS_DIR/build.log $DOMAIN_DIR/build.log
|
||||||
|
|
||||||
rm -f $DOMAIN_DIR/start.log
|
rm -f $DOMAIN_DIR/start.log
|
||||||
ln -s $LOGS_DIR/start.log $DOMAIN_DIR/start.log
|
|
||||||
|
|
||||||
|
|
||||||
# Create our service configuration
|
# Create our service configuration
|
||||||
service_file=$DOMAIN.service
|
service_file=$DOMAIN.service
|
||||||
@@ -60,6 +58,7 @@ git checkout $COMMIT_HASH
|
|||||||
|
|
||||||
# build the dist artifact from within the src directory
|
# build the dist artifact from within the src directory
|
||||||
make build
|
make build
|
||||||
|
echo build complete!
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
@@ -68,5 +67,6 @@ ln -sf $DOMAIN_DIR/$service_file /etc/systemd/system/$service
|
|||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl restart $service
|
systemctl restart $service
|
||||||
|
ln -s $LOGS_DIR/start.log $DOMAIN_DIR/start.log
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user