Adding data directory with permissions to see if I can just ship it with it setup correctly

This commit is contained in:
Leopere 2018-11-06 18:29:26 -05:00
parent b430ed411d
commit dc7317022e
No known key found for this signature in database
GPG key ID: 64476C903E477CCB
3 changed files with 4 additions and 4 deletions

2
lbrycrd/.gitignore vendored
View file

@ -1 +1 @@
data/
data/.lbrycrd

0
lbrycrd/data/.gitkeep Normal file
View file

View file

@ -10,9 +10,9 @@
## Ensure perms are correct prior to running main binary
chown -R 1000:1000 /data
chmod -R 755 /data
chown -R 1000:1000 /etc/lbrycrdd
chmod -R 755 /etc/lbrycrdd
rm -f /var/run/lbrycrdd.pid
chown -R 1000:1000 /etc/lbrycrd
chmod -R 755 /etc/lbrycrd
rm -f /var/run/lbrycrd.pid
mkdir -p ~/.lbrycrd
## Set config params