2013-07-03 Ramon Novoa <rnovoa@artica.es>
* pandora_agent.redhat.spec: Make absolute calls to chkconfig. Add the service before enabling it. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8463 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
2ca9c99f69
commit
c33d9c0ab1
|
@ -1,3 +1,8 @@
|
|||
2013-07-03 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* pandora_agent.redhat.spec: Make absolute calls to chkconfig. Add the
|
||||
service before enabling it.
|
||||
|
||||
2013-06-26 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* pandora_agent.redhat.spec,
|
||||
|
|
|
@ -94,7 +94,8 @@ if [ ! -e /etc/pandora/collections ]; then
|
|||
fi
|
||||
|
||||
mkdir -p /var/spool/pandora/data_out
|
||||
chkconfig pandora_agent_daemon on
|
||||
/sbin/chkconfig --add pandora_agent_daemon
|
||||
/sbin/chkconfig pandora_agent_daemon on
|
||||
|
||||
%preun
|
||||
|
||||
|
@ -103,7 +104,7 @@ if [ "$1" = "1" ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
chkconfig --del pandora_agent_daemon
|
||||
/sbin/chkconfig --del pandora_agent_daemon
|
||||
/etc/init.d/pandora_agent_daemon stop
|
||||
rm /etc/init.d/pandora_agent_daemon
|
||||
/usr/sbin/userdel pandora
|
||||
|
|
Loading…
Reference in New Issue