[pve-devel] sheepdog init script
Dietmar Maurer
dietmar at proxmox.com
Mon Jul 23 06:39:33 CEST 2012
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20120723/71608d09/attachment.htm>
More information about the pve-devel
mailing list