Skip to content

Commit 38d4e02

Browse files
committed
Update nginx-watch.sh
1 parent bfd5194 commit 38d4e02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx-watch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# USAGE: sh nginx-watch.sh
1111

1212
# Set NGINX directory
13-
dir='/etc/nginx'
13+
dir=`dirname $0`
1414

1515
# Get initial checksum values
1616
checksum_initial=`tar -cf - $dir | md5sum | awk '{print $1}'`

0 commit comments

Comments
 (0)