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

15 lines
290 B
Cheetah
Raw Normal View History

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