<div dir="ltr"><div dir="ltr"><div dir="ltr">Thank You,<div><br></div><div>Works like a charm!<br></div><div><br></div><div>Regards,</div><div>Krzysztof</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">czw., 7 mar 2019 o 16:34 Alex Lutay <<a href="mailto:alutay@sipwise.com">alutay@sipwise.com</a>> napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
You need to register your serivice in custom systemd preset:<br>
<br>
> ngcpcfg set /etc/ngcp-config/config.yml "systemd.custom_preset=['my.service']"<br>
> ngcpcfg apply "allow my service start on boot"<br>
<br>
It allows upgrade and other NGCP service aware<br>
about foreign running services on upgrade, etc.<br>
<br>
Have fun!<br>
<br>
On 3/7/19 2:01 PM, Krzysztof M. wrote:<br>
> I have installed fail2ban and voipbl. I would like to keep running these<br>
> services after the system reboots. Call:<br>
> <br>
> systemctl enable ...<br>
> <br>
> works until you call ngcpcfg apply.<br>
> All additional entries in /etc/systemd/system/multi-user.target.wants/<br>
> are removed.<br>
> <br>
> Is there any solution to keep running new services after rebooting the<br>
> system?<br>
-- <br>
Alex Lutay<br>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
</blockquote></div></div>