Linux monit config8/17/2023 ![]() ![]() > #/usr/bin/google-drive-ocamlfuse /GD -o allow_other,auto_cache -headless -debug > /home/felix/.gdfuse/default/mount.log 2>&1 & I didn’t care to spend much time to troubleshoot it. I just use the in cron as doing the network.online never worked for me. Still a bit dirty though I think, maybe the rclone mount command could get a wait command-line parameter before the actual mount is createdĮxecStart=/home/misteriks/Projects/Proj1/bin/rclone mount eacd: /home/misteriks/acd -config /home/misteriks/.nf -allow-other -max-read-ahead 200M -dir-cache-time 5m -acd-templink-threshold 0 -bwlimit 0 -checkers 32 -low-level-retries 1 -quiet -stats 0 -timeout 30sĮxecStop=fusermount -u /home/misteriks/acd so I pushed it back by making it depended of multi-user.target. With systemd-analyze plot > plot.svg (image file can be opened in browser) I analyzed the systemd startup order and noticed that my rvice was very short after the network. So it is not waiting 10 seconds, but it is considered failed when not started within 10 seconds ![]() If a daemon service does not signal start-up completion within the configured time, the service will be considered failed and will be shut down again In your config there is a parameter TimeoutStartSec=10, but that isn’t doing what you expect it would do.Ĭonfigures the time to wait for start-up. I was able to start it manually so my suspicion was that is was a timing issue. If I execute the same command rclone mount gdriveencrypted: /media/gdrivemount/ -config /root/.nf -allow-other -no-modtime -dir-cache-time 60m in a terminal, the mount works, so the google token should work. Main PID: 1235 (code=exited, status=1/FAILURE)ĭec 02 15:49:01 qp systemd: Started rclonemount.ĭec 02 15:49:02 qp rclone: 2 15:49:02 Failed to create file system for "gdriveencrypted:": failed to make remote "remotegdrive:encrypted" to wrap: couldn't read info about Drive: Get : Post : dial tcp: lookup on :53: read udp :55031->:53: read: connection refusedĭec 02 15:49:02 qp systemd: rvice: Main process exited, code=exited, status=1/FAILUREĭec 02 15:49:02 qp systemd: rvice: Unit entered failed state.ĭec 02 15:49:02 qp systemd: rvice: Failed with result 'exit-code'. rvice - rclonemountĪctive: failed (Result: exit-code) since Fri 15:49:02 CET 2h 11min ago.I added a user, now the error log is down to Isn’t there the necessary –config parameter? I’m not that linux-savvy, so any help is appreciated. Main PID: 1222 (code=exited, status=1/FAILURE)ĭec 02 11:13:17 qp systemd: Started rclonemount.ĭec 02 11:13:18 qp rclone: 2 11:13:18 Couldn't find home directory or read HOME environment variable.ĭec 02 11:13:18 qp rclone: 2 11:13:18 Defaulting to storing config in current directory.ĭec 02 11:13:18 qp rclone: 2 11:13:18 Use -config flag to workaround.ĭec 02 11:13:18 qp rclone: 2 11:13:18 Error was: user: Current not implemented on linux/amd64ĭec 02 11:13:19 qp rclone: 2 11:13:19 Failed to create file system for "gdriveencrypted:": failed to make remoteĭec 02 11:13:19 qp systemd: rvice: Main process exited, code=exited, status=1/FAILUREĭec 02 11:13:19 qp systemd: rvice: Unit entered failed state.ĭec 02 11:13:19 qp systemd: rvice: Failed with result 'exit-code'. Process: 1222 ExecStart=/usr/sbin/rclone mount gdriveencrypted: /media/gdrivemount/ -config /root/.rc ![]() Loaded: loaded (/etc/systemd/system/rvice enabled vendor preset: enabled)Īctive: failed (Result: exit-code) since Fri 11:13:19 CET 27s ago That doesn’t quite work, I get the following qp:~# systemctl status rclonemount So I tried creating a rvice in /etc/systemd/system/ : ĮxecStart=/usr/sbin/rclone mount gdriveencrypted: /media/gdrivemount/ -config /root/.nf -allow-other -no-modtime -dir-cache-time 60m Mounting in the console does work, but I want it to mount automaticly after a reboot. ![]() I’m trying to mount my googledrive on my ubuntu server. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |