# Systemd unit file for ApacheDS instances. [Unit] Description=Apache DS LDAP server After=syslog.target network.target [Service] Type=forking ExecStart=/opt/apacheds-2.0.0_M20/bin/apacheds start default ExecStop=/opt/apacheds-2.0.0_M20/bin/apacheds stop default SuccessExitStatus=143 User=apacheds Group=apacheds [Install] WantedBy=multi-user.targetThen execute:
systemctl enable apacheds systemctl start apacheds