File: apacheds.service

package info (click to toggle)
apache-directory-server 2.0.0~M26-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 38,796 kB
  • sloc: java: 235,968; xml: 10,188; sh: 2,265; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 823 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[Unit]
Description=Apache Directory Server
After=network.target
ConditionPathExists=|/etc/apacheds/config.ldif
ConditionPathIsDirectory=|/etc/apacheds/ou=config

[Service]
Type=simple
User=apacheds
Group=apacheds
EnvironmentFile=/etc/default/apacheds
ExecStart=/bin/sh -c "exec \
            ${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