[Spce-user] Ngcp 6.5 onwards how to add services

Skyler skchopperguy at gmail.com
Fri Sep 4 04:24:27 EDT 2020


Dear Alex,

 Thank you for your response. My point is, when customizing CE LTS the risk
is potentially being unable to follow the next LTS upgrade. With the high
quality paid support from Sipwise though, it would be a lot easier and less
risk in losing money should there be any mistakes found as a result of
customization.

 I hope your example does lend assistance.

— Skyler

On Fri, Sep 4, 2020 at 2:12 AM Alex Lutay <alutay at sipwise.com> wrote:

> Dear Skyler,
>
>
>
> Sipwise does NOT limit CE in any case!
>
> We would like to grow our community and we do respect
>
> every CE/PRO/Carrier installation we have world wide!
>
>
>
> Skyler, you are absolutely right about the issue Walter has
>
> here, with Sipwise support assist he would receive the answer
>
> the same day. Something like this:
>
>
>
> The old NGCP releases mr6.2+ are based on Systemd init subsystem which
>
> gaves us a lot of freedom and control.
>
> The main configuration framework 'ngcpcfg' is currently
>
> taking care about all the init/systemd related topics including
>
> starting services on boot. NGCP is using standard systemd-preset
>
> functionality which inform systemd about boot configuration. You can
>
> find the default presets here:
>
>
>
> > root at sp1:~# ls -la /etc/systemd/system-preset/
>
> > total 28
>
> > drwxr-xr-x 2 root root 4096 Sep  4 03:21 .
>
> > drwxr-xr-x 8 root root 4096 Sep  4 03:21 ..
>
> > -r--r--r-- 1 root root  680 Sep  4 03:21 10-base.preset
>
> > -r--r--r-- 1 root root 5717 Sep  4 03:21 50-ngcp.preset
>
> > -r--r--r-- 1 root root  118 Sep  4 03:21 90-custom.preset
>
> > -r--r--r-- 1 root root  217 Sep  4 03:21 99-default.preset
>
> > root at sp1:~#
>
>
>
> Sure it is possible to add some necessary/custom services to
>
> NGCP and enable them for boot using the option in config.yml:
>
>
>
> > ngcpcfg set /etc/ngcp-config/config.yml
> "systemd.custom_preset=[’my_servive1.service’, ’my_servive2.service’]"
>
> > ngcpcfg apply "Start my services on boot"
>
>
>
> We hope it will help you solve the issue you have.
>
>
>
> Please, keep in mind all custom packages installed on NGCP
>
> might cause issues on the next NGCP/Debian upgrade due to missing/broken
>
> dependencies, therefore it is not recommended
>
> to keep foreign packages installed/running during NGCP upgrade.
>
> In the same time ngcp-upgrade will do the best to inform you
>
> about any potential issues before the upgrade, in upgrade 'check' stage.
>
>
>
> Thank you!
>
>
>
> On 9/4/20 9:16 AM, Skyler wrote:
>
> > Hi Walter,
>
> >
>
> >  SPCE is the open source version of a for-sale product. Logically, it is
>
> > designed to be self-correcting. My first thought is maybe it’s time to
>
> > move into the supported version. Sounds like you have grown beyond SPCE.
>
> >
>
> > — Skyler
>
> >
>
> > On Tue, Aug 18, 2020 at 11:30 AM Walter Klomp via Spce-user
>
> > <spce-user at lists.sipwise.com <mailto:spce-user at lists.sipwise.com>>
> wrote:
>
> >
>
> >     Hi,
>
> >
>
> >     I have some extra services installed on my spce boxes but for some
>
> >     reason they always get disabled (or don’t auto start) even though I
>
> >     have enabled it. It seems the settings get overwritten as soon as
>
> >     ngcpcfg apply is applied.
>
> >
>
> >     How do I add systemd.services to the ngcpcfg process so that they
>
> >     survive regeneration?
>
> >     --
>
> >
>
> >     Warmest Regards,
>
> >
>
> >     <https://myrepublic.com.sg/>
>
> >
>
> >     *Walter Klomp*
>
> >     Head of Voice & Systems
>
> >     MyRepublic Limited
>
> >     T: +65 6816 1120
>
> >     F: +65 6717 2031
>
> >
>
> >     MyRepublic Limited
>
> >     11 Lorong 3 Toa Payoh Block B
>
> >     <
> https://www.google.com/maps/search/11+Lorong+3+Toa+Payoh+Block+B?entry=gmail&source=g
> >
>
> >     Jackson Square
>
> >     #04-11/15 Singapore 319579
>
> >
>
> >     myrepublic.com.sg <https://myrepublic.com.sg/>
>
> >     Follow us on: Twitter <https://twitter.com/myrepublic> | Facebook
>
> >     <https://facebook.com/myrepublicsg> | LinkedIn
>
> >     <https://www.linkedin.com/company/myrepublic>
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >     The contents of this email and any attachments are confidential and
>
> >     may also be privileged. You must not disseminate the contents of
>
> >     this email and any attachments without permission of the sender. If
>
> >     you have received this email by mistake, please delete all copies
>
> >     and inform the sender immediately. You may refer to our company's
>
> >     Privacy Policy here
>
> >     <
> https://myrepublic.net/sg/legal/terms-of-use-policies/privacy-policy/>.--
>
> >
>
> >
>
> >     Spce-user mailing list
>
> >
>
> >     Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>
>
> >
>
> >
> http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com
>
> >
>
> >
>
>
>
> --
>
> Alex Lutay
>
> Vice President Development
>
> Sipwise GmbH | an ALE Company
>
> Europaring F15 | 2345 Brunn am Gebirge
>
>
>
> Office: +43 1 30120436
>
> Email: alutay at sipwise.com
>
> Website: https://www.sipwise.com
>
>
>
> Particulars according Austrian Companies Code paragraph 14
>
> "Sipwise GmbH“ - Europaring F15 – 2345 Brunn am Gebirge
>
> FN:305595f, Commercial Court Wr. Neustadt, ATU64002206
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20200904/cf09b8ba/attachment-0002.html>


More information about the Spce-user mailing list