Skip to content

Commit 904829a

Browse files
authored
Update deploy to allow multiple deployments with different Users
Adds the Username to the logfile name, so it won' clash with other Users doing a deployment on the machine. Defaults to 'default', If USER is unset.
1 parent 44464cc commit 904829a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deploy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
VERSION="0.6.0"
1111
CONFIG=./deploy.conf
12-
LOG=/tmp/pm2-deploy.log
12+
LOG=/tmp/pm2-deploy-${USER:-default}.log
1313
TEST=1
1414
FORCE=0
1515
REF=

0 commit comments

Comments
 (0)