From: Lonnie A. <li...@lo...> - 2007-02-18 00:56:05
|
Guys, I'll be happy with 'any' rc.local variable that keeps asterisk from starting. > ASTERISK_USER=root > ASTERISK_GROUP=root Kristian, seems you might want to add these variables anyway, but, by not defining them means disabling asterisk seems a little obscure to me. Maybe then in addition: ASTERISK_DISABLE=yes By default asterisk should be on, hence, I think a new variable should be set to turn asterisk off. Lonnie PS: Is anyone using the $EXTENSIONS variable anymore? Time for it to go? On Feb 17, 2007, at 6:29 PM, Kristian Kielhofner wrote: > On 2/17/07, Darrick Hartman <dha...@dj...> wrote: >>> 3) How about my NO_ASTERISK (exit) variable in /etc/init.d/ >>> asterisk ? >> Forgot about that one... I'd like Kristian's input on this one. >> We'd >> need a variable in rc.conf to not start asterisk. Then a check in >> the >> asterisk init script to check for this variable and exit cleanly >> if it's >> found. >> >> There may be another way to accomplish this though. We may want a >> list >> of services which should be started at boot or perhaps a list of >> disabled services. It would be nice to include openser in the stock >> Astlinux image, but if both asterisk and openser are started, >> there may >> be some issues. >> > > Hey Guys, > > If we started doing NO_* variables, we'd eventually run out :). > > What about this: > > ASTERISK_USER=root > > ASTERISK_GROUP=root > > At least this way we accomplish two things - > > 1) We know the user wants to start Asterisk > > 2) They can run it under alternate credentials if desired > > If they didn't define either (upgrade with old keydisk, for > instance) I'd like to make the asterisk init script say something > clever and warn the user that they aren't running Asterisk on AstLinux > ;)! > > That's more similar to the other packages (openvpn, for instance). > > What do you think? > > -- > Kristian Kielhofner > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Astlinux-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pa...@kr.... > |