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

Andy Clark andyclark05251978 at gmail.com
Fri Mar 8 08:31:18 EST 2019


this might help someone

systemd:
  coredump:
    externalsizemax: 4G
    processsizemax: 4G
  custom_preset: ['fail2ban.service','open-vm-tools.service']

On Fri, Mar 8, 2019 at 3:47 AM Krzysztof M. <kontakt at biznesvoip.pl> wrote:

> 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
>>
> _______________________________________________
> 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/293a80dc/attachment-0001.html>


More information about the Spce-user mailing list