mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #111] Service file to run as service and automatically mount on boot (start, stop, restart, status ) #67
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#67
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shivanandsharma on GitHub (Jan 22, 2015).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/111
@ggtakec commented on GitHub (Mar 8, 2015):
Thanks a codes for service.
I'm wander about that normally s3fs should start to run with fstab on boot, do you think about it?
I think that this script is good for not root user, not service.
(for service, I think it is needed to change some(ex, using configuration file instead of bucket name and mount point hard coding))
Regards,
@ggtakec commented on GitHub (Mar 30, 2019):
We kept this issue open for a long time.
I will close this, but if the problem persists, please reopen or post a new issue.
@abhishekk27 commented on GitHub (May 11, 2020):
I'm still facing the issue,
s3fs#<bucket-name> <host-folder> fuse retries=5,allow_other,url=https://s3-us-east-2.amazonaws.com 0 0the mount is unmounting after I boot my server
@sharmashivanand commented on GitHub (May 11, 2020):
Have you enabled the service?
Have you updated the bubcket name accordingly?
What is the output of journalctl?
@abhishekk27 commented on GitHub (May 11, 2020):
yeah, it is working when I'm running
sudo mount <folder-name>but after the restart, the mount is not present
@juliogonzalez commented on GitHub (May 11, 2020):
While the service on the description is nice, it would be way better if it could do some things:
In fact it should most probably ship an /etc/default/s3fs-fuse file as well.
But all of that should be part of a system package.
Besides of what @ggtakec said, now that a lot of distributions are shipping
systemdall problems you are having could be because of the waysystemdis using thissysvinitscript.And in the end I am wondering: you have
/etc/fstab. What's the exactly the use case? Why do you need to use a service instead offstab? I am sure there's a use case, but can you explain?