]> git.pld-linux.org Git - packages/amavisd-new.git/commitdiff
- compensate for 20020517 not being able to change uid
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 17 Sep 2002 13:08:01 +0000 (13:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amavisd-new-config.patch -> 1.3
    amavisd-new.init -> 1.3

amavisd-new-config.patch
amavisd-new.init

index 26297491fc79aae69ca01030d70c1998056c2968..664e982244ed16209827d5e131180af37e6e6cc6 100644 (file)
@@ -22,7 +22,7 @@
 -$pid_file = '/var/amavis/amavisd.pid';
 +$daemon_group = 'nobody';
 +#$daemon_group = 'sweep';
-+$pid_file = '/var/run/amavisd.pid';
++$pid_file = '/var/run/amavisd/amavisd.pid';
  
  #
  # Part III - Virus stuff
index 3216d15d2588722520e9969891029d4c82766dbb..075f91ce658bb358a3ba70c0f5fb90d8259f1e68 100644 (file)
@@ -24,7 +24,7 @@ case "$1" in
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/amavisd ]; then
                msg_starting Amavisd
-               daemon $SERVICE_RUN_NICE_LEVEL /usr/sbin/amavisd
+               daemon $SERVICE_RUN_NICE_LEVEL 'su -s /bin/sh amavis -c /usr/sbin/amavisd'
                touch /var/lock/subsys/amavisd
        else
                msg_Already_Running Amavisd
This page took 0.035637 seconds and 4 git commands to generate.