[Spce-user] ngcpcfg apply removes changes in the service configuration
Alex Lutay
alutay at sipwise.com
Thu Mar 7 10:33:47 EST 2019
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
More information about the Spce-user
mailing list