create var directory if needed
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 14 Jul 2011 11:35:04 +0000 (11:35 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 14 Jul 2011 11:35:04 +0000 (11:35 +0000)
rsync-start-server.sh

index 44e624c..a53b251 100755 (executable)
@@ -1,3 +1,4 @@
 #!/bin/sh -x
 
+test -d var || mkdir var
 sudo rsync --daemon --config rsyncd.conf --no-detach --port=6501 # --verbose -vvvv