On Thu, Feb 11, 2010 at 08:45:05AM +1300, Duncan Turnbull wrote:
> The other way on Debian/Ubuntu is just to test the existence of the dir and
> create it if needed
>
> If you add this to the /etc/init.d/asterisk near the start you should be fine
>
> if ! [ -d /var/run/asterisk ] ; then
> mkdir /var/run/asterisk
> chown $AST_USER.$AST_GROUP /var/run/asterisk
Please use ':' as a separator for chown.
chown $user: file # (empty group) chowns the file to the default group
of the uiser, which means that it's safe to leave AST_GROUP set to an
empty value.
--
Tzafrir Cohen
icq#16849755 jabber:[email protected]
+972-50-7952406 mailto:[email protected]
http://www.xorcom.com iax:[email protected]/tzafrir
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users