Re: [systemd-devel] Systemd user service needs to wait for encrypted $HOME to be decrypted

2015-09-13 Thread John
>> Assuming a user has an encrypted $HOME, I need a user service that will: >> >> >> 1) Wait for the $HOME to be decrypted, then run ExecStart, and >> 2) Run ExecStop before the user closes the encryption again. >> 3) Totally ignore the encryption requirement if the user has no >> encryptio

Re: [systemd-devel] Systemd user service needs to wait for encrypted $HOME to be decrypted

2015-09-06 Thread Lennart Poettering
On Fri, 04.09.15 21:10, John (da_audioph...@yahoo.com) wrote: > Assuming a user has an encrypted $HOME, I need a user service that will: > > > 1) Wait for the $HOME to be decrypted, then run ExecStart, and > 2) Run ExecStop before the user closes the encryption again. > 3) Totally ignore the enc

[systemd-devel] Systemd user service needs to wait for encrypted $HOME to be decrypted

2015-09-04 Thread John
Assuming a user has an encrypted $HOME, I need a user service that will: 1) Wait for the $HOME to be decrypted, then run ExecStart, and 2) Run ExecStop before the user closes the encryption again. 3) Totally ignore the encryption requirement if the user has no encryption setup, ie just run norma