mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-12 00:19:15 +00:00
Fix startug bug after mongodb was removed
This commit is contained in:
parent
1863f3813b
commit
59d95738f8
|
@ -175,10 +175,10 @@ if [ "$USER" != "redis" ]; then
|
|||
chown -R redis:redis /mnt/hdd/mynode/redis
|
||||
fi
|
||||
chown -R redis:redis /etc/redis/
|
||||
USER=$(stat -c '%U' /mnt/hdd/mynode/mongodb)
|
||||
if [ "$USER" != "mongodb" ]; then
|
||||
chown -R mongodb:mongodb /mnt/hdd/mynode/mongodb
|
||||
fi
|
||||
#USER=$(stat -c '%U' /mnt/hdd/mynode/mongodb)
|
||||
#if [ "$USER" != "mongodb" ]; then
|
||||
# chown -R mongodb:mongodb /mnt/hdd/mynode/mongodb
|
||||
#fi
|
||||
USER=$(stat -c '%U' /mnt/hdd/mynode/electrs)
|
||||
if [ "$USER" != "bitcoin" ]; then
|
||||
chown -R bitcoin:bitcoin /mnt/hdd/mynode/electrs
|
||||
|
|
Loading…
Reference in New Issue
Block a user