added rclone service for connecting to google drive
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user