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

Question: how to configure systemd to unload/load service on suspend/resume

Open cmt29 opened this issue 10 months ago • 0 comments

Sorry if this is wrong place to ask this.

I have followed steps to automount via systemd --user. However, computer won't suspend unless I manually stop service. How do I automate this using systemd? Do I need a separate systemd service, or can I do it via editing the user unit file documented here: [https://github.com/astrada/google-drive-ocamlfuse/wiki/Automounting#user-unit] (https://github.com/astrada/google-drive-ocamlfuse/wiki/Automounting#user-unit)

Thanks.

cmt29 avatar Apr 18 '24 08:04 cmt29