Results 1 to 3 of 3

Thread: [Ubuntu 19.04] - Servicio o script al inicio

  1. #1
    Join Date
    Apr 2012
    Beans
    5

    Question [Ubuntu 19.04] - Servicio o script al inicio

    Hola, buenas y santas!
    Hace unos días me pasé a Ubuntu 19.04 y estoy intentando restablecer lo que tenía en otra distro.
    Puntualmente estoy con un inconveniente intentando ejecutar un script (.sh) que arranca "svnserve -d -r <repo>" al inicio, creado y con permisos en /etc/init.d/ y luego aplicado con update-rc.d <script> defaults y sin resultados (el comando update-rc.d no devuelve error, por lo menos a la vista).
    Lo intenté también creado un servicio "svnserve.service y tampoco.
    Alguien podrá, amablemente, ayudarme con éste inconveniente por favor.
    Muchas gracias!

  2. #2
    Join Date
    Aug 2013
    Beans
    75
    Distro
    Lubuntu

    Re: [Ubuntu 19.04] - Servicio o script al inicio

    Tienes que crear un servicio en systemd (diferente de sysV). Para darte una idea, tienes que crear svnserve.service en /etc/systemd/system, luego ejecutar
    Code:
    systemctl daemon-reload
    para que tome los cambios. Solo entonces podras habilitar el servicio
    Code:
    systemctl enable svnserve
    e iniciarlo
    Code:
    systemctl start svnserve
    Budgie and loving it.

  3. #3
    Join Date
    Apr 2012
    Beans
    5

    Re: [Ubuntu 19.04] - Servicio o script al inicio

    Quote Originally Posted by aromo2 View Post
    Tienes que crear un servicio en systemd (diferente de sysV). Para darte una idea, tienes que crear svnserve.service en /etc/systemd/system, luego ejecutar
    Code:
    systemctl daemon-reload
    para que tome los cambios. Solo entonces podras habilitar el servicio
    Code:
    systemctl enable svnserve
    e iniciarlo
    Code:
    systemctl start svnserve
    Muchas gracias por la respuesta.

    Me pasa lo siguiente:
    Code:
    Synchronizing state of svnserve.service with SysV service script with /lib/systemd/systemd-sysv-install.
    Executing: /lib/systemd/systemd-sysv-install enable svnserve
    update-rc.d: error: svnserve Default-Start contains no runlevels, aborting.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •