]> git.pld-linux.org Git - packages/flashpolicyd.git/blobdiff - flashpolicyd.init
- start+start must = 100
[packages/flashpolicyd.git] / flashpolicyd.init
index c7409bdef0088aed2a9dc4d69a72dd8b0322658f..97966c1ba80ad9b55ebba9c1e1472bd458527cd2 100644 (file)
@@ -2,7 +2,7 @@
 #
 # flashpolicyd flashpolicyd short service description
 #
-# chkconfig:   345 20 20
+# chkconfig:   345 20 80
 #
 # description: Starts a server on port 843 to server flash policy requests
 #
@@ -22,6 +22,7 @@ TIMEOUT=10
 XML=/etc/flashpolicy.xml
 LOGFREQ=1800
 LOGFILE=/var/log/flashpolicyd.log
+DAEMON_USER=nobody
 
 # Get service config - may override defaults
 [ -f /etc/sysconfig/flashpolicyd ] && . /etc/sysconfig/flashpolicyd
@@ -44,7 +45,7 @@ start() {
        fi
 
        msg_starting "Flash policy server"
-       daemon /usr/sbin/flashpolicyd --timeout=$TIMEOUT --xml=$XML --logfreq=$LOGFREQ --logfile=$LOGFILE
+       daemon /usr/sbin/flashpolicyd --user=$DAEMON_USER --timeout=$TIMEOUT --xml=$XML --logfreq=$LOGFREQ --logfile=$LOGFILE
        RETVAL=$?
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/flashpolicyd
 }
This page took 0.090386 seconds and 4 git commands to generate.