Incomplete Lsb Comment. Insserv: Missing Valid Name for 'Provides:' Please Add

Incomplete LSB comment. insserv: missing valid name for `Provides:' please add

I got it. The cause of the "insserv: missing valid name for `Provides:' please add." error was due to the multiple spaces between "# Provides:" and "oracle-shm"

Can't uninstall mysql-server because : Script SACSrv is broken

The SACSrv script was on /etc/init.d, I've always no idea about it usefulness.
Indeed, 'Required-Stop' entry was missing (I don't know how and why).
I've copy-paste the 'Require-start' line and rename to 'Require-stop' and my purge works fine.

Run a mono application at startup without creating a service

In the end the best way to do this was to make an extremely simple bash script that runs the command:

#!/bin/bash
start-stop-daemon --start --background -m --oknodo --pidfile /home/pi/pid/MonoDaemon.pid --exec /usr/bin/mono -- /home/pi/Mono/EDM.exe

After that I added a row in /etc/init.d/rc.local

/bin/bash /etc/init.d/mnw


Related Topics



Leave a reply



Submit