I'm trying to set up auto-run for a minecraft server and running into problems with insserv. It's complaining about every single required part of the LSB comment, but as far as I can see it's all properly formatted. When I try to install it I get:
Code:
insserv: Script minecraft is broken: incomplete LSB comment.
insserv: missing `Provides:' entry: please add.
insserv: missing `Required-Start:' entry: please add even if empty.
insserv: missing `Required-Stop:' entry: please add even if empty.
insserv: missing `Default-Start:' entry: please add even if empty.
insserv: missing `Default-Stop:' entry: please add even if empty.
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `minecraft'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `minecraft'
The LSB comment for the script in question is:
Code:
#!/bin/bash
### BEGIN INIT INFO
# Provides: minecraft
# Required-Start: $local_fs $remote_fs screen-cleanup
# Required-Stop: $local_fs $remote_fs
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Minecraft server
# Description: Starts the minecraft server
### END INIT INFO
What have I done wrong here?