~ubuntu-branches/ubuntu/karmic/clamav/karmic

« back to all changes in this revision

Viewing changes to debian/clamav-milter.init.in

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman, Scott Kitterman, Stephen Gran, Michael Meskes, Michael Tautschnig
  • Date: 2009-10-24 12:34:00 UTC
  • Revision ID: james.westby@ubuntu.com-20091024123400-tui4olmy1i988ieh
Tags: 0.95.2+dfsg-4ubuntu4
[ Scott Kitterman ]
* Apparmor profile fixes (reviewed by Ubuntu Security):
  - Allow clamav-daemon access to the home directory of the user running it
    and update README.Debian to explain the need to adjust the apparmor
    profile for it to scan elsewhere (LP: #450250)
  - Add capability dac_override to clamav-daemon profile to allow
    AllowSupplementaryGroups to work (LP: #433764)
* Cherry pick packaging bug fixes from pkg-clamav git

[ Stephen Gran ]
* Make all references to the milter socket reference the same path
  - b71e1a26bafb0df532df2673fcd1cd53bc6952bd
* Read default file once (LP: #430421)
  - 86b421dac00e49abb8e5907b9e952e33e83b7aec

[ Michael Meskes ]
* Fixed LSB header information. (Closes: #546450) - thanks to Petter
  Reinholdtsen <pere@hungry.com>
  - 3f59d827d1e54ce1efcb7e050c57866ccdfaedae

[ Michael Tautschnig ]
* Remove all remaining files during purge
  - 4132426753b674dd9c622f1c0501703ed987a239

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
### BEGIN INIT INFO
3
3
# Provides:          clamav-milter
4
 
# Required-Start:    $syslog
 
4
# Required-Start:    $remote_fs $syslog
5
5
# Should-Start:      clamav-daemon
6
 
# Required-Stop:
 
6
# Required-Stop:     $remote_fs $syslog
7
7
# Should-Stop:       
8
8
# Default-Start:     2 3 4 5
9
 
# Default-Stop:      0 6
 
9
# Default-Stop:      0 1 6
10
10
# Short-Description: ClamAV virus milter
11
11
# Description:       Clam AntiVirus milter interface
12
12
### END INIT INFO
37
37
  exit 0
38
38
fi
39
39
 
40
 
[ -f /etc/default/clamav-milter ] && . /etc/default/clamav-milter
41
 
 
42
40
slurp_config "$CLAMAVCONF"
43
41
[ -n "$User" ] || User=clamav
44
42