make service unit name more descriptive to avoid confusion

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>
This commit is contained in:
Andrei Jiroh Halili 2024-09-07 15:17:09 +00:00
parent fe32fb3791
commit 14d103b634
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8
2 changed files with 13 additions and 8 deletions

View file

@ -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

View file

@ -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