mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Violette Roche-Montane
22.38.2013 aedaf5652dd9b728942b9f30836458fe80a423c1
opends/resource/debian/control/postinst
@@ -4,6 +4,10 @@
# Install is launched with an empty second arg.
# If the package is already installed, 
#  the second arg. is not empty.
# Registers the service
update-rc.d opendj defaults
# Symlinks to process ID
test -h "/var/run/opendj.pid" || ln -s /opt/opendj/logs/server.pid /var/run/opendj.pid
# In this case, we are in upgrade mode.
if [ "$1" = "configure" ] && [ ! -z "$2" ]
then