forked from finn/tinyboard
no user systemd it's stupid
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
#~/.config/systemd/user/rclone-mount@.service
|
||||
|
||||
[Unit]
|
||||
Description=Rclone mount of %i
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStartPre=/usr/bin/mkdir -p %h/mnt/%i
|
||||
ExecStart=/usr/bin/rclone mount %i: %h/mnt/%i \
|
||||
--config=%h/.config/rclone/rclone.conf \
|
||||
--vfs-cache-mode writes \
|
||||
--vfs-cache-max-size 256M \
|
||||
--allow-other \
|
||||
--log-level INFO \
|
||||
--log-file %h/.local/share/rclone-%i.log
|
||||
ExecStop=/bin/fusermount -u %h/mnt/%i
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
StartLimitInterval=60
|
||||
StartLimitBurst=3
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user