[Spce-user] ngcpcfg apply removes changes in the service configuration

Krzysztof M. kontakt at biznesvoip.pl
Fri Mar 8 06:46:40 EST 2019


Thank You,

Works like a charm!

Regards,
Krzysztof

czw., 7 mar 2019 o 16:34 Alex Lutay <alutay at sipwise.com> napisał(a):

> Hi,
>
> You need to register your serivice in custom systemd preset:
>
> >   ngcpcfg set /etc/ngcp-config/config.yml
> "systemd.custom_preset=['my.service']"
> >   ngcpcfg apply "allow my service start on boot"
>
> It allows upgrade and other NGCP service aware
> about foreign running services on upgrade, etc.
>
> Have fun!
>
> On 3/7/19 2:01 PM, Krzysztof M. wrote:
> > I have installed fail2ban and voipbl. I would like to keep running these
> > services after the system reboots. Call:
> >
> > systemctl enable ...
> >
> > works until you call ngcpcfg apply.
> > All additional entries in /etc/systemd/system/multi-user.target.wants/
> > are removed.
> >
> > Is there any solution to keep running new services after rebooting the
> > system?
> --
> Alex Lutay
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20190308/0292d72a/attachment-0001.html>


More information about the Spce-user mailing list