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
..
2020-09-27 11:44:05 +01:00
2020-04-23 17:52:14 +01:00
2021-09-09 20:43:59 +03:00
2020-10-14 15:21:31 +01:00
2020-10-28 18:16:23 +00:00