Systemd best practices (was: [SOLVED] Re: Debian stretch hiberante hooks)

2016-01-20 Thread Kamil Jońca
Ansgar Burchardt <"Ansgar Burchardt"@43-1.org> writes: > Hi, > [...] > > Just using "sleep.target" instead of the three individual ones should > also work and do the same. > > Ansgar Indeed. Thanks. By the way: whether there is a documentation describing best practices and "use cases" for system

Re: [SOLVED] Re: Debian stretch hiberante hooks

2016-01-18 Thread Ansgar Burchardt
Hi, kjo...@poczta.onet.pl (Kamil Jońca) writes: > I put file /etc/systemd/system/remote-umount.service > which contains: > [Unit] > Description=Umount remote cifs/sshfs filesystems > Before=suspend.target > Before=hibernate.target > Before=hybrid-sleep.target Just using "sleep.target" instead of

[SOLVED] Re: Debian stretch hiberante hooks

2016-01-18 Thread Kamil Jońca
kjo...@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