The baresip init script is changed to use UCI instead of the debian
style /etc/default basic service configuration.
A uci-defaults script is added to create a basic UCI config:
--
config baresip main
option enable 0
option options ''
--
With this change an issues is also resolved, on which the baresip
service doesn't start due to the baresip user not being the owner of
the /etc/baresip configuration directory.
Additionally a reload_config trigger is added for baresip.
Signed-off-by: Daniel Danzberger <dd@embedd.com>
- add procd init script
- script starts the daemon as user "baresip" instead of root
- add /etc/default/baresip
- add example configuration into /etc/baresip
- add conffiles definition
- prevent autostart after upgrade by using ENABLE_BARESIP variable in
/etc/default/baresip
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>