I have a Debian server and I just need to run a script at startup.
I read that: https://www.debian-administration.org/article/28/Making_scripts_run_at_boot_time_with_Debian
I got now: insserv: warning: script ' missing LSB tags and overrides
so it looks like I have to add now:
### BEGIN INIT INFO
# Provides: scriptname
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable service provided by daemon.
### END INIT INFO
It looks now crazy: like 30 lines of script just to run a program at startup.
Is there a tool that allows to do that a simply way ?
Regards