From fe32fb3791b18ee721a9612f71a70b45a6889452 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Sat, 7 Sep 2024 15:14:10 +0000 Subject: [PATCH] add systemd service unit for s3fs mounts for Hack Club Nest Signed-off-by: Andrei Jiroh Halili --- .config/systemd/user/s3fs-storj-dcs.service | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .config/systemd/user/s3fs-storj-dcs.service diff --git a/.config/systemd/user/s3fs-storj-dcs.service b/.config/systemd/user/s3fs-storj-dcs.service new file mode 100644 index 0000000..b844b5d --- /dev/null +++ b/.config/systemd/user/s3fs-storj-dcs.service @@ -0,0 +1,8 @@ +[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