I dont think systemd will expand the ~, try replacing the ExecStart=/bin/bash ~/.local/bin/ocamlfuseStartup.sh line with ExecStart=/bin/bash %h/.local/bin/ocamlfuseStartup.sh, this will expand to your home directory, if its still giving a not found error, try running which google-drive-ocamlfuse in a terminal and make sure the path is correct
- Posts
- 2
- Comments
- 39
- Joined
- 2 yr. ago
- Posts
- 2
- Comments
- 39
- Joined
- 2 yr. ago
It looks like its creating a new process and going in the background and systemd cant track it anymore, so it thinks that its exited and tries restarting. I took a link Oscar sent, and I saw that there is a systemd service and the
Typeis set toforking, I think this could solve the problem, they also have anExecStopline, id set it toExecStop=fusermount -u %h/googledriveso it will unmount properly whenever you manually stop the service. So try settingType=forking, and adding theExecStopline, hopefully this will stop systemd from restarting it when it hasnt actually exited