dc2c74a2b1
Deleted dotfiles/.local/share/chezmoi/home/dot_ssh/id_rsa.pub
15 lines
417 B
Cheetah
15 lines
417 B
Cheetah
[Unit]
|
|
Description=rclone r2 user service ({{ .user.username }})
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User={{ .user.username }}
|
|
ExecStartPre=/usr/bin/mkdir /home/{{ .user.username }}/.local/mnt/r2
|
|
ExecStart=/usr/local/bin/rclone-mount "user" "{{ .user.username }}" "r2"
|
|
ExecStop=/bin/fusermount -u /home/{{ .user.username }}/.local/mnt/r2
|
|
Restart=always
|
|
RestartSec=10
|
|
|
|
[Install]
|
|
WantedBy=default.target
|