rclone/cmd/mountlib
Ivan Andreev 8b8a943dd8 mountlib: correctly daemonize for compatibility with automount - #5593
This patch will:
- add --daemon-wait flag to control the time to wait for background mount
- remove dependency on sevlyar/go-daemon and implement backgrounding directly
- avoid setsid during backgrounding as it can result in race under Automount
- provide a fallback PATH to correctly run `fusermount` under systemd as it
  runs mount units without standard environment variables
- correctly handle ^C pressed while background process is being setting up
2021-10-02 23:45:16 +03:00
..
check_linux.go mountlib: use procfs to validate mount on linux - #5593 2021-10-02 23:45:16 +03:00
check_other.go mountlib: use procfs to validate mount on linux - #5593 2021-10-02 23:45:16 +03:00
help.go build: make go1.14 the minimum supported Go for building 2021-08-20 19:04:29 +01:00
mount.go mountlib: correctly daemonize for compatibility with automount - #5593 2021-10-02 23:45:16 +03:00
rc_test.go mountlib: refactor before adding serve docker (#5415) 2021-07-10 23:56:09 +03:00
rc.go mountlib: refactor before adding serve docker (#5415) 2021-07-10 23:56:09 +03:00
sighup_unsupported.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
sighup.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
utils.go mountlib: use procfs to validate mount on linux - #5593 2021-10-02 23:45:16 +03:00