From a372093d2245a643267693f01a51653c223ef66f Mon Sep 17 00:00:00 2001 From: Samuel O'Neal Date: Fri, 31 Jul 2026 10:17:07 -0600 Subject: [PATCH] added rclone service for connecting to google drive --- systemd/.config/systemd/user/gdrive-rclone.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 systemd/.config/systemd/user/gdrive-rclone.service diff --git a/systemd/.config/systemd/user/gdrive-rclone.service b/systemd/.config/systemd/user/gdrive-rclone.service new file mode 100644 index 0000000..0fc38b7 --- /dev/null +++ b/systemd/.config/systemd/user/gdrive-rclone.service @@ -0,0 +1,14 @@ +[Unit] +Description=Connect to GDrive via RClone +After=network-online.target graphical-session.target +BindsTo=graphical-session.target +Wants=network-online.target graphical-session.target + +[Service] +PassEnvironment=DISPLAY WAYLAND_DISPLAY DBUS_SESSION_BUS_ADDRESS XDG_RUNTIME_DIR +ExecStart=/usr/bin/rclone mount samueleoneal1954-gdrive: %h/Documents/gdrive +Restart=on-failure +RestartSec=60 + +[Install] +WantedBy=default.target