mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-27 12:30:34 -09:00
For a changelog see here:
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-22.3.0.md
Changes made by the package maintainer:
- add systemd service file
- run asterisk as non-root user asterisk
- build pjsip as bundled source code, but download it like
sound files
- remove unused configure options
- chan_alsa was removed upstream in commit
de3ce178ab0282445cf25161b49f3737ac2d20ff
See here for the reason behind using the bundled pjsip:
https://github.com/asterisk/asterisk/issues/671
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit f11b9db0b5)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
24 lines
542 B
Desktop File
24 lines
542 B
Desktop File
# based on included asterisk.service, but changed
|
|
# Type to simple, comments removed
|
|
[Unit]
|
|
Description=Asterisk PBX and telephony daemon.
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment=HOME=/usr/lib/asterisk
|
|
WorkingDirectory=/usr/lib/asterisk
|
|
User=asterisk
|
|
Group=asterisk
|
|
ExecStart=/usr/sbin/asterisk -mqf -C /etc/asterisk/asterisk.conf
|
|
ExecReload=/usr/sbin/asterisk -rx 'core reload'
|
|
RuntimeDirectory=asterisk
|
|
LimitCORE=infinity
|
|
Restart=always
|
|
RestartSec=4
|
|
StandardOutput=null
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|