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

15 lines
284 B
Cheetah
Raw Normal View History

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