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

Re: How to do this ?



On Fri, Oct 10, 2014 at 07:51:50PM +0200, Erwan David wrote:
> I want to have a system which boots, and starts a subset of daemons.
> 
> Then afterward I ssh to it, do something which 1) mount an encrypted
> disk, 2) start other daemons (which depends on the encrypted disk).

Personally, I'd look at using libpam-mount to mount the encrypted disk
upon login (it's typically used to do this for /home/$USER, but there's
no reason it shouldn't work for an arbitrary mount point) and then use
your shell's login scripting (.profile or similar) to launch the
daemons.

> 
> I know how to do this with policy-rc.d, how can I do this with systemd ?
> 
> I know this list may not be the best place to ask, feel free to point me
> to another way to get help.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 54381CB6.4090604@rail.eu.org">https://lists.debian.org/[🔎] 54381CB6.4090604@rail.eu.org
> 

Attachment: signature.asc
Description: Digital signature


Reply to: