forked from finn/tinyboard
attempt service fix
This commit is contained in:
@@ -6,7 +6,7 @@ After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
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 \
|
||||
@@ -14,10 +14,12 @@ ExecStart=/usr/bin/rclone mount %i: %h/mnt/%i \
|
||||
--vfs-cache-max-size 256M \
|
||||
--allow-other \
|
||||
--log-level INFO \
|
||||
--log-file /tmp/rclone-%i.log
|
||||
--log-file %h/.local/share/rclone-%i.log
|
||||
ExecStop=/bin/fusermount -u %h/mnt/%i
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
RestartSec=10
|
||||
StartLimitInterval=60
|
||||
StartLimitBurst=3
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
Reference in New Issue
Block a user