[Unit] SourcePath=/opt/opendj/bin Description=ForgeRock OpenDJ 3.5.0 Before=runlevel5.target shutdown.target After= Conflicts=shutdown.target [Service] Type=forking Restart=always TimeoutSec=5min IgnoreSIGPIPE=no KillMode=process GuessMainPID=no RemainAfterExit=yes ExecStart=/opt/opendj/bin/opendj.init start ExecStop=/opt/opendj/bin/opendj.init stop [Install] WantedBy=multi-user.target