Discussion restart Unionfs,tdrive and gdrive

shatdueces

Blitz 1st Class
Original poster
Staff
Donor
72
11
Good evening. I was hoping someone could tell me how to restart the unionfs, tdrive and Gdrie services. I wanted to see if restarting them would cause the system to write to google and purge out the data from the local drive.
 

tonycfromit

Blitz 1st Class
Staff
99
43
If that doesn't work:

systemctl stop pgblitz
rm -f /opt/appdata/pgblitz/pid/*
rm -f /opt/appdata/pgblitz/json/*
rm -f /opt/appdata/pgblitz/logs/*
for i in `find /mnt/pgblitz/ -maxdepth 1 -mindepth 1 -type d`; do cp -rv ${i}/* /mnt/move && rm -frv ${i}/* ; done
systemctl start pgblitz

this resets pgblitz, copies everything stuck in there back to move, and then starts fresh.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads


Development Donations

 

Trending