Thread "autorun scripts in Debian 9"

Tabs

  • mkellermann
    mkellermann | mkellermann | 7. Nov 2018, 13:15
    autorun scripts in Debian 9
    Does anyone know if the command "update-rc.d" still works in Debian 9 (systemd) to run init.d scripts (e.g. ilserver, ilchat) automatically after reboot?

    Thanks and regards
    Manfred
  • rbaumgartner
    rbaumgartner | rbaumgartner | 7. Nov 2018, 14:13
    Re: autorun scripts in Debian 9
    We do not have a Debian 9 running anywhere, but I would assume that update-rc.d still works, yes. AFAIK all it does is creating symlinks in the respective directories in /etc/rc?.d and there are probably still quite a few SysV init scripts lying around there, which have not yet been ported to SystemD.

    If you are ready to make the move to SystemD however, there is an example for a SystemD service definition for ilServer in the ILIAS docs (search for ilServer):
    https://docu.ilias.de/goto_docu_pg_75024_367.html

    And if you are struggling to port the init script for the chat server, I might be able to look up our service definition for it (including some nifty parametrization if you need to run more than one instance of the chat server).
  • Deleted
    Deleted | 9. Nov 2018, 10:52
    Hallo
    Hallo,

    ich bin neu Hier
  • wolfganghuebsch
    wolfganghuebsch | wolfganghuebsch (Moderation) | 9. Nov 2018, 11:18
    Re: autorun scripts in Debian 9
    Yes