diff --git a/.config/systemd/user/s3fs-storj-dcs-docker.service b/.config/systemd/user/s3fs-storj-dcs-docker.service new file mode 100644 index 0000000..3defcc5 --- /dev/null +++ b/.config/systemd/user/s3fs-storj-dcs-docker.service @@ -0,0 +1,13 @@ +[Unit] +Description="S3FS mount to sj://docker-mounts" +Documentation=https://storj.dev/dcs/third-party-tools/s3fs + +[Service] +WorkingDirectory=~ +ExecStart="s3fs docker-mounts ~/.local/docker-volumes -o passwd_file=~/.secrets/sotrj-dcs-dockervolumes.key -o dbglevel=info -f -o curldbg -o url=https://gateway.storjshare.io/ -o use_path_request_style" +RestartSec=30s +Restart=on-failure +StartLimitBurst=3 + +[Install] +WantedBy=default.target \ No newline at end of file diff --git a/.config/systemd/user/s3fs-storj-dcs.service b/.config/systemd/user/s3fs-storj-dcs.service deleted file mode 100644 index b844b5d..0000000 --- a/.config/systemd/user/s3fs-storj-dcs.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description="S3FS mount to sj://docker-mounts" -Documentation=https://storj.dev/dcs/third-party-tools/s3fs - -[Service] -ExecStart="s3fs docker-mounts $HOME/.local/docker-volumes -o passwd_file=$HOME/.secrets/sotrj-dcs-dockervolumes.key -o dbglevel=info -f -o curldbg -o url=https://gateway.storjshare.io/ -o use_path_request_style" -RestartSec=30s -Restart=on-failure \ No newline at end of file