install.fairie/home/dot_config/rclone/system/s3-docker.service.tmpl
2023-04-11 08:04:22 +00:00

14 lines
284 B
Cheetah

[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