/lib/systemd/system/apacheds.service is in apacheds 2.0.0~M15-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | [Unit]
Description=Apache Directory Server
After=network.target
ConditionPathExists=/etc/apacheds/config.ldif
[Service]
Type=simple
User=apacheds
Group=apacheds
EnvironmentFile=/etc/default/apacheds
ExecStart=${JAVA_HOME}/bin/java ${JAVA_OPTS} \
-Dapacheds.controls=${ADS_CONTROLS} \
-Dapacheds.extendedOperations=${ADS_EXTENDED_OPERATIONS} \
-Dlog4j.configuration=file:${ADS_INSTANCES}/${ADS_INSTANCE}/conf/log4j.properties \
-Dapacheds.log.dir=${ADS_INSTANCES}/${ADS_INSTANCE}/log \
-cp '${ADS_HOME}/lib/*' \
org.apache.directory.server.UberjarMain \
${ADS_INSTANCES}/${ADS_INSTANCE}/
PrivateTmp=true
[Install]
WantedBy=multi-user.target
|