> > I think it is always good to reserved port 7000 for gateway only instance and > > so /var/lib/sheepdog/gateway-only. Because gateway-only has no data, we > > can remove and create empty directory for each start and no special > > parameters are needed. What do you think? > > A gateway will also need data dir to cache things - most likely on SSD? > > So I think there is no special need for that. yeap > > I do not want to introduce too much magic here. > > > For sheep instance containing data your approach with the setup file seems > > to be a fine way. But I think it is not good idea to created the file > > automatically, just don't start if it doesn't exist. > > I don't really understand that? I do not create anything 'automatically'? yes, you don't - you just wrote touch ... in your email - anyway > > - Dietmar > Thanks Jens http://tek2b.org/gitweb/?p=sheepdog.git;a=blob;f=debian/sheepdog.init;h=7d2f10370d20c0533352c74b032d71283c9413fc;hb=8a522688dbc3874423812b3d686e716e6912ae5c http://tek2b.org/gitweb/?p=sheepdog.git;a=blob;f=debian/sheepdog.default;h=1c63798217dfcb3f74e58f029368cf0d7dbaa453;hb=8a522688dbc3874423812b3d686e716e6912ae5c |