• 0 Posts
  • 2 Comments
Joined 1 year ago
cake
Cake day: December 11th, 2024

help-circle


  • I would just throw google-drive-ocamlfuse ~/googledrive in your .profile, but if you want to use systemd:

    [Unit]
    Description=Google drive fuse mount
    After=network-online.target
    Wants=network-online.target
    
    [Service]
    Type=simple
    User=<USER>
    ExecStart=/usr/bin/google-drive-ocamlfuse /home/<USER>/googledrive
    ExecStop=/usr/bin/google-drive-ocamlfuse -u /home/<USER>/googledrive
    
    [Install]
    WantedBy=multi-user.target