• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Debian 7 errors related to Kaspersky Antivirus startup script kavehost

TarasS

Basic Pleskian
I have Plesk 12 panel on Debian 7 server.

When I try to add service to auto start using command:
# update-rc.d nginx defaults
update-rc.d: using dependency based boot sequencing

I got error:
insserv: warning: script 'kavehost' missing LSB tags and overrides
#

Does anybody knows how can it be fixed?
 
Thank you, @IgorG,

I've read wiki recommendations and changed init script /etc/init.d/kavehost header (added lines):

#!/bin/sh

### BEGIN INIT INFO
# Provides: kavehost
# Required-Start: $local_fs $remote_fs $network $syslog
# Required-Stop: $local_fs $remote_fs $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts Kaspersky AntiVirus service.
# Description: starts Kaspersky AntiVirus service.
### END INIT INFO

#
 
Back
Top