Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support (Russian)
  3. Скрипты /etc/init.d для Ubuntu

Скрипты /etc/init.d для Ubuntu

Scheduled Pinned Locked Moved Support (Russian)
3 Posts 2 Posters 51.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    D
    Dmitry
    wrote on last edited by
    #1

    Коллеги,

    Я тут налабал скрипты для старта и стопа NetXMS сервера и агента в Убунту Линуксе. Думаю, что они пойдут на любой debian-системе (хотя не очень в этом уверен). Feel free, так сказать. Для инсталляции нужно проделать следующие шаги:

    1. Поместить скрипты в /etc/init.d
    2. Сделать их executable:
    chmod u+x /etc/init.d/netxmsd && chmod u+x /etc/init.d/nxagentd
    
    1. Поменять переменные, указывающие на расположение файлов (DAEMON, PIDFILE)
    2. Прописать линки в соответствующие rc-директории. Я делаю это так:
    #cd /etc/init.d
    #update-rc.d netxmsd start 50 S . stop 18 1 .
    #update-rc.d nxagentd start 51 S . stop 17 1 .
    

    netxmsd.sh

    nxagentd.sh

    1 Reply Last reply
    0
    • W
      W
      weec
      wrote on last edited by
      #2

      не пробовал сворганить .deb пакет?

      1 Reply Last reply
      0
      • D
        D
        Dmitry
        wrote on last edited by
        #3

        @weec said in Скрипты /etc/init.d для Ubuntu:

        не пробовал сворганить .deb пакет?

        Думал об этом. Но пока еще не занимался.

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups