...
Create two services. The first (apacheds.service) starts up ApacheDS (if you are running it). The second (bedework.service) starts up jboss (with bedework inside). It also starts up the webcaching system.
Drop Save something like this in the block of code that follows into /etc/systemd/system/apacheds.service
...
Code Block |
---|
[Unit] Description=Bedework Calendar ApacheDS After=network.target [Service] Environment=JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk WorkingDirectory=/opt/quickstart-3.10 Type=idle ExecStart=/opt/quickstart-3.10/bw dirstart User=bedework Group=bedework TimeoutStartSec=0 TimeoutStopSec=180 [Install] WantedBy=multi-user.target |
Drop Save something like this in the block of code that follows into / /etc/systemd/system/bedework.service
...