Ubuntu add service to autostart

55 views
Skip to first unread message

ILYA KONDRATYEV

unread,
Jun 7, 2022, 8:25:37 AM6/7/22
to Event-Driven Servers
Hi,
tried to add tac_plus to autostart on Ubuntu using sudo update-rc.d tac_plus defaults and after reboot service didn't start.

Suggest to add following lines in /etc/init.d/tac_plus  (and possibly to https://www.pro-bono-publico.de/projects/unpacked/tac_plus/extra/etc_init.d_tac_plus).

### BEGIN INIT INFO
# Provides:          tac_plus
# Required-Start:    $remote_fs $network $syslog
# Required-Stop:     $network $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: TACACS+ daemon
### END INIT INFO

After that sudo update-rc.d tac_plus defaults does it's job as planned.


Marc Huber

unread,
Jun 7, 2022, 12:40:37 PM6/7/22
to event-driv...@googlegroups.com
Hi Ilya,

thanks, I've added this to the latest snapshot.

Cheers,

Marc

Am 07.06.2022 um 14:25 schrieb ILYA KONDRATYEV:
> Hi,
> tried to add tac_plus to autostart on Ubuntu using *sudo update-rc.d
> tac_plus defaults *and after reboot service didn't start.
>
> Suggest to add following lines in /etc/init.d/tac_plus (and possibly to
> https://www.pro-bono-publico.de/projects/unpacked/tac_plus/extra/etc_init.d_tac_plus).
>
> ### BEGIN INIT INFO
> # Provides: tac_plus
> # Required-Start: $remote_fs $network $syslog
> # Required-Stop: $network $remote_fs $syslog
> # Default-Start: 2 3 4 5
> # Default-Stop: 0 1 6
> # Short-Description: TACACS+ daemon
> ### END INIT INFO
>
> After that *sudo update-rc.d tac_plus defaults *does it's job as planned.
>
>
Reply all
Reply to author
Forward
0 new messages