Code Monkey home page Code Monkey logo

Comments (3)

kcallis avatar kcallis commented on May 18, 2024

Thank you for the fast response and resolution! I had just subscribed to the mailing list and saw the message about using the systemd service from another user. I am wondering if the service will work for multiple users? For instance, I log in and the gcsf.service mounts the filesystem and life is good. I log out and I assume my Google Drive will umount. If my son logs into the host, will the service automatically mount his google drive (he has already authenticated)?

from gcsf.

harababurel avatar harababurel commented on May 18, 2024

Implemented 33f55f3.

from gcsf.

harababurel avatar harababurel commented on May 18, 2024

Thank you for the fast response and resolution! I had just subscribed to the mailing list and saw the message about using the systemd service from another user. I am wondering if the service will work for multiple users? For instance, I log in and the gcsf.service mounts the filesystem and life is good. I log out and I assume my Google Drive will umount. If my son logs into the host, will the service automatically mount his google drive (he has already authenticated)?

Released this feature in 0.1.21 (c8d8406). After updating to this version, GCSF should integrate with systemd a bit more nicely.

To answer your question: the setup you've described should work, provided you make some configuration changes. Specifically, each user should have their own service file with the corresponding session name, mountpoint, User and Group. AFAIK, the service is not started at login time, but rather as soon as possible (i.e. after network.target is running, which is unrelated to users logging in). It's also not stopped at logout -- you have to follow these steps to make it happen.

Depending on your privacy concerns, it may also be acceptable to simply enable the service for each user and have all instances run at the same time regardless of who is logged on.

Another alternative is to manually run systemctl start and systemctl stop after logging in and before logging out, respectively.

from gcsf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.