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

15 lines
284 B
Cheetah
Raw Normal View History

2023-04-11 01:04:22 -07:00
[Unit]
Description=rclone S3 service (docker)
After=network-online.target
[Service]
Type=simple
User=rclone
ExecStart=/usr/local/bin/rclone-mount "rclone" "rclone" "s3-docker"
ExecStop=/bin/fusermount -u /mnt/s3-docker
Restart=always
RestartSec=10
[Install]
WantedBy=default.target