added systemd service for gdrive
This commit is contained in:
1
systemd/user/default.target.wants/gcr-ssh-agent.service
Symbolic link
1
systemd/user/default.target.wants/gcr-ssh-agent.service
Symbolic link
@@ -0,0 +1 @@
|
||||
/usr/lib/systemd/user/gcr-ssh-agent.service
|
||||
1
systemd/user/default.target.wants/pipewire-pulse.service
Symbolic link
1
systemd/user/default.target.wants/pipewire-pulse.service
Symbolic link
@@ -0,0 +1 @@
|
||||
/usr/lib/systemd/user/pipewire-pulse.service
|
||||
1
systemd/user/default.target.wants/pipewire.service
Symbolic link
1
systemd/user/default.target.wants/pipewire.service
Symbolic link
@@ -0,0 +1 @@
|
||||
/usr/lib/systemd/user/pipewire.service
|
||||
24
systemd/user/gdrive-mount.service
Normal file
24
systemd/user/gdrive-mount.service
Normal file
@@ -0,0 +1,24 @@
|
||||
# ~/.config/systemd/user/rclone-mount.service
|
||||
|
||||
[Unit]
|
||||
Description=Rclone Mount for google drive
|
||||
# This ensures your network is ready before it tries to mount
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
# The command to start the mount.
|
||||
# Replace "my-remote:" and "/path/to/local/mount" accordingly.
|
||||
# The flags below are highly recommended for a good experience.
|
||||
ExecStart=rclone mount google_drive: %h/gdrive \
|
||||
--vfs-cache-mode writes \
|
||||
--log-file /tmp/rclone.log \
|
||||
--log-level INFO
|
||||
|
||||
# The command to unmount gracefully.
|
||||
ExecStop=fusermount -u %h/gdrive
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
# This tells systemd to start the service at user login.
|
||||
WantedBy=default.target
|
||||
1
systemd/user/graphical-session.target.wants/hyprpaper.service
Symbolic link
1
systemd/user/graphical-session.target.wants/hyprpaper.service
Symbolic link
@@ -0,0 +1 @@
|
||||
/usr/lib/systemd/user/hyprpaper.service
|
||||
@@ -0,0 +1 @@
|
||||
/usr/lib/systemd/user/hyprpolkitagent.service
|
||||
1
systemd/user/graphical-session.target.wants/waybar.service
Symbolic link
1
systemd/user/graphical-session.target.wants/waybar.service
Symbolic link
@@ -0,0 +1 @@
|
||||
/usr/lib/systemd/user/waybar.service
|
||||
1
systemd/user/multi-user.target.wants/wayvnc.service
Symbolic link
1
systemd/user/multi-user.target.wants/wayvnc.service
Symbolic link
@@ -0,0 +1 @@
|
||||
/usr/lib/systemd/user/wayvnc.service
|
||||
1
systemd/user/sockets.target.wants/gcr-ssh-agent.socket
Symbolic link
1
systemd/user/sockets.target.wants/gcr-ssh-agent.socket
Symbolic link
@@ -0,0 +1 @@
|
||||
/usr/lib/systemd/user/gcr-ssh-agent.socket
|
||||
1
systemd/user/sockets.target.wants/pipewire-pulse.socket
Symbolic link
1
systemd/user/sockets.target.wants/pipewire-pulse.socket
Symbolic link
@@ -0,0 +1 @@
|
||||
/usr/lib/systemd/user/pipewire-pulse.socket
|
||||
1
systemd/user/sockets.target.wants/pipewire.socket
Symbolic link
1
systemd/user/sockets.target.wants/pipewire.socket
Symbolic link
@@ -0,0 +1 @@
|
||||
/usr/lib/systemd/user/pipewire.socket
|
||||
10
systemd/user/ssh-agent.service
Normal file
10
systemd/user/ssh-agent.service
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=SSH key agent
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
||||
ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user