[Asterisk-Users] Asterisk as non root
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Thu Feb 5 09:53:51 MST 2004
On Thursday 05 February 2004 08:03, Chris Lee wrote:
> I followed the wiki instructions:
> http://www.voip-info.org/wiki-Asterisk+non-root
>
> Now I have a working asterisk running as user asterisk.
> I do however have some problems:
> 1: I dont have access via asterisk -r
Permissions problem. User asterisk needs to have permissions to
write the file /var/run/asterisk.ctl
> 2: The pid file is no longer being updated
Again, permissions problem.
> 3: I want to create a file in init.d so that I can use service start
> and stop, but need to be able to pass asterisk the gracefully command
> etc, any ideas welcome. maybe: "asterisk -rx stop gracefully" etc
Please see the multitude of init.d scripts already written that do this
in /usr/src/asterisk/contrib/init.d/
-Tilghman
More information about the asterisk-users
mailing list