Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openrc based /etc/fstab not works #694

Open
Mon-ius opened this issue Mar 1, 2024 · 0 comments
Open

Openrc based /etc/fstab not works #694

Mon-ius opened this issue Mar 1, 2024 · 0 comments

Comments

@Mon-ius
Copy link

Mon-ius commented Mar 1, 2024

As suggested in https://github.com/rclone/rclone/wiki/rclone-mount-helper-script with systemd;

for the net mount in /etc/fstab;

sftp1:subdir /mnt/data rclone rw,noauto,nofail,_netdev,x-systemd.automount,args2env,vfs_cache_mode=writes,config=/etc/rclone.conf,cache_dir=/var/cache/rclone 0 0

I tried to migrate the similar setup with openrc by replace the option _netdev with netmount, and removed x-systemd.automount, but it not works as expected

I dont want to write a single openrc service file for mount it, would u give some tips for adapt the existed fstab service?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant