[pve-devel] sheepdog init script
Dietmar Maurer
dietmar at proxmox.com
Mon Jul 23 14:26:33 CEST 2012
commited to git - please review and test
> -----Original Message-----
> From: Alexandre DERUMIER [mailto:aderumier at odiso.com]
> Sent: Montag, 23. Juli 2012 11:14
> To: Dietmar Maurer
> Cc: pve-devel at pve.proxmox.com
> Subject: Re: [pve-devel] sheepdog init script
>
> Yes, I also don't like the current startup arguments
>
> I think startup file is better indeed. (And also, we can be sure that sheep
> directory is correctly mounted)
>
> ----- Mail original -----
>
> De: "Dietmar Maurer" <dietmar at proxmox.com>
> À: pve-devel at pve.proxmox.com
> Envoyé: Lundi 23 Juillet 2012 06:39:33
> Objet: [pve-devel] sheepdog init script
>
>
>
> I don’t really like the current way of assigning sheep satrtup arguments in
> /etc/default/sheepdog
>
> I think to simply scan for directories /var/lib/sheepdog/disk[ 0-9]
>
> If such directory contains a ‘startup’ file, I read startup arguments from that
> file and start sheep daemon with those arguments.
>
> We can automatically set port/path/pidfile, so usually all you need to do is
>
> # touch /var/lib/sheepdog/diskN/startup
>
> After that sheep start automatically for that directory.
>
> What do you think?
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
>
>
> --
>
> --
>
>
>
>
>
> Alexandre D e rumier
>
> Ingénieur Systèmes et Réseaux
>
>
> Fixe : 03 20 68 88 85
>
> Fax : 03 20 68 90 88
>
>
> 45 Bvd du Général Leclerc 59100 Roubaix
> 12 rue Marivaux 75002 Paris
>
More information about the pve-devel
mailing list