Re: Asterisk start via systemd fails, but its running

Jean Aunis <[email protected]>
Newsgroups gmane.comp.telephony.pbx.asterisk.user
Message-ID <[email protected]>
Le 08/03/2022 à 03:40, TTT a écrit :
>
> I have a fresh Asterisk 18 install on a fresh OS (AWS Linux 2).  I 
> used the service file from contrib directory and commented out user 
> and group settings so it runs under root.
>
> [...]

Hello,

The service file provided in the "contrib" directory defines a service 
of type "notify". To get it work, Asterisk needs to be compiled with the 
option "HAVE_SYSTEMD".

Otherwise, you can modify the service file to define the service as 
"forking" instead of "notify".

Regards

Jean

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.