<div dir="ltr"><div>Link [1] interestingly details how you can run several daemon instances with systemctl.</div><div>Note that the author uses things like</div><div><br></div><div>/run/asterisk/instance-foo</div><div>/var/lib/asterisk/instance-foo<br></div><div><br></div><div>[1] <a href="https://opensource.com/article/20/12/multiple-service-instances-systemctl">https://opensource.com/article/20/12/multiple-service-instances-systemctl</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 20 nov. 2020 à 18:29, Olivier <<a href="mailto:oza.4h07@gmail.com">oza.4h07@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>What is the most FHS-esque (see [1]) way to run several Asterisk instances on a single (Debian) host ?</div><div><br></div><div>What would you recommend ?</div><div>Would gather each instance directories (etc/, run/, lib/, ...) in something like /srv/instance1/ <br></div><div>(it doesn't please me as I like to put variable data in /var and on so) ?</div><div><br></div><div>Alternatively, would you with /etc/asterisk1/, /var/lib/asterisk1, ... ?</div><div><br></div><div>Would you even create a dedicated system user, one per instance, to further isolate asterisk instances data ?<br></div><div><br></div><div>[1] <a href="https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard" target="_blank">https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard</a></div><div><br></div><div>Cheers</div><div><br></div><div>PS: On a Debian-packaged Asterisk, I've got /usr/sbin/rasterisk linked to /usr/sbin/asterisk. How can you explain directly running /usr/sbin/asterisk "requires" a -r option while /usr/sbin/rasterisk does not ?<br></div><div><br></div></div>
</blockquote></div>