[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SOLVED] Re: Debian stretch hiberante hooks



kjonca@poczta.onet.pl (Kamil Jońca) writes:

[...]

Finally I got it (I think)
I put file  /etc/systemd/system/remote-umount.service
which contains:
--8<---------------cut here---------------start------------->8---
[Unit]
Description=Umount remote cifs/sshfs filesystems
Before=suspend.target
Before=hibernate.target
Before=hybrid-sleep.target

[Service]
ExecStart=/bin/umount umount -l -f  -t cifs,fuse.sshfs  -a

[Install]
WantedBy=suspend.target
WantedBy=hibernate.target
WantedBy=hybrid-sleep.target
--8<---------------cut here---------------end--------------->8---

Thanks all
KJ

-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
Eeny, Meeny, Jelly Beanie, the spirits are about to speak!
		-- Bullwinkle Moose


Reply to: