google-drive-ocamlfuse icon indicating copy to clipboard operation
google-drive-ocamlfuse copied to clipboard

Getting "Executable path is not absolute" when mounting using systemd

Open williamthrilliam opened this issue 3 years ago • 0 comments

I'm getting the following when mounting using systemd:

`user1@user1:/downloads/temp$ systemctl status google-drive-ocamlfuse.service ● google-drive-ocamlfuse.service - FUSE filesystem over Google Drive Loaded: error (Reason: Exec format error) Active: inactive (dead)

Sep 08 13:27:09 user1 systemd[1]: /etc/systemd/system/google-drive-ocamlfuse.service:8: Executable path is not absolute: google-drive-ocamlfuse /downloads/temp Sep 08 13:27:25 user1 systemd[1]: /etc/systemd/system/google-drive-ocamlfuse.service:8: Executable path is not absolute: google-drive-ocamlfuse /downloads/temp`

My unit file is as follows:

`[Unit] Description=FUSE filesystem over Google Drive After=network.target

[Service] User=user1 Group=user1 ExecStart=google-drive-ocamlfuse /downloads/temp ExecStop=fusermount -u /downloads/temp Restart=always Type=forking

[Install] WantedBy=multi-user.target`

williamthrilliam avatar Sep 08 '21 18:09 williamthrilliam