install.fairie/home/dot_config/rclone/system/s3-private.service.tmpl

15 lines
306 B
Cheetah
Raw Normal View History

[Unit]
Description=rclone S3 system service (private)
After=network-online.target
[Service]
Type=simple
User=rclone
ExecStart=/usr/local/bin/rclone-mount "rclone" "rclone" "Cloud (Private)"
ExecStop=/bin/fusermount -u "/mnt/Cloud (Private)"
Restart=always
RestartSec=10
[Install]
WantedBy=default.target